Disable copy constructors and copy assignment operators

This commit is contained in:
Birunthan Mohanathas
2014-01-05 12:07:22 +02:00
parent 4b6a1d31ea
commit 7164dddefd
54 changed files with 157 additions and 18 deletions

View File

@ -82,7 +82,9 @@ private:
CanvasD2D();
~CanvasD2D();
CanvasD2D(const CanvasD2D& other) {}
CanvasD2D(const CanvasD2D& other) = delete;
CanvasD2D& operator=(CanvasD2D other) = delete;
bool BeginTargetDraw();
void EndTargetDraw();