nocopy: explicitly delete move construct/assign

This commit is contained in:
Danny Robson 2014-12-19 14:58:13 +11:00
parent d4a6c115bc
commit 67b03fd10f

View File

@ -31,6 +31,9 @@ namespace util {
private:
nocopy (const nocopy &) = delete;
nocopy& operator =(const nocopy &) = delete;
nocopy (nocopy &&) = delete;
nocopy& operator =(nocopy &&) = delete;
};
}