C4Surface: Explicitly mark copy ctor/assignment op deleted

liquid_container
Nicolas Hake 2016-02-08 14:38:34 +01:00
parent 3e5bec1ffd
commit 059e9e7060
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@ const int C4SF_Unlocked = 4;
class C4Surface
{
private:
C4Surface(const C4Surface &cpy); // do NOT copy
C4Surface &operator = (const C4Surface &rCpy); // do NOT copy
C4Surface(const C4Surface &cpy) = delete;
C4Surface &operator = (const C4Surface &rCpy) = delete;
public:
C4Surface();