Quantcast
Viewing all articles
Browse latest Browse all 40524

ofScopedLock build error, lock unlock works

Actually there was another reason to get that error, it's that my class did not define a copy constructor for my class and the compiler wasn't able to generate one while using std::mutex (or Poco::FastMutex).

I just created an empty copy constructor, I wasn't able to make it private or declare it as delete.


Viewing all articles
Browse latest Browse all 40524

Trending Articles