nocopy: explicitly delete move construct/assign
This commit is contained in:
parent
d4a6c115bc
commit
67b03fd10f
@ -31,6 +31,9 @@ namespace util {
|
||||
private:
|
||||
nocopy (const nocopy &) = delete;
|
||||
nocopy& operator =(const nocopy &) = delete;
|
||||
|
||||
nocopy (nocopy &&) = delete;
|
||||
nocopy& operator =(nocopy &&) = delete;
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user