Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make CondVar non-copyable, non-moveable (#1426)
This makes it consistent with std::condition_variable. Found using cppcheck: common/src/dthread.h:114:4: warning: Class 'CondVar' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] mutex = new mutex_t; ^ common/src/dthread.h:114:4: warning: Class 'CondVar' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] mutex = new mutex_t;
- Loading branch information