NO_COPY_CLASS c++11

This commit is contained in:
2020-07-17 11:46:21 +03:00
parent 1a3096c48b
commit 33a6382f4d
8 changed files with 24 additions and 34 deletions

View File

@@ -32,6 +32,7 @@
*/
class PIP_EXPORT PIConditionVariable {
public:
NO_COPY_CLASS(PIConditionVariable)
explicit PIConditionVariable();
virtual ~PIConditionVariable();
@@ -111,7 +112,6 @@ public:
virtual bool waitFor(PIConditionLock& lk, int timeoutMs, const std::function<bool()>& condition);
private:
NO_COPY_CLASS(PIConditionVariable)
PRIVATE_DECLARATION
};