I cannot do anything

This commit is contained in:
Nekotekina 2014-03-02 03:50:47 +04:00
parent 4828723d5c
commit 9e62b330b1
6 changed files with 103 additions and 29 deletions

View file

@ -26,6 +26,7 @@ template
>
class SMutexBase
{
static_assert(sizeof(T) == sizeof(std::atomic<T>), "Invalid SMutexBase type");
std::atomic<T> owner;
public: