diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-12-08 15:27:24 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-12-08 15:27:24 +0100 |
commit | 769931efdfc815160c0e6714ab0860ae3702adf1 (patch) | |
tree | 685233204aa845139b6e0747eb80287a9396cbdd /common/os | |
parent | 398a6f43327ea3a8c1e58ed77f34fd4409cccb9d (diff) | |
download | tigervnc-769931efdfc815160c0e6714ab0860ae3702adf1.tar.gz tigervnc-769931efdfc815160c0e6714ab0860ae3702adf1.zip |
Include class keyword for friend declaration
Only C++11 allows omitting the class keyword, so include it so
the code compiles with older compilers.
Diffstat (limited to 'common/os')
-rw-r--r-- | common/os/Mutex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/os/Mutex.h b/common/os/Mutex.h index 2a54b205..63c7e0cc 100644 --- a/common/os/Mutex.h +++ b/common/os/Mutex.h @@ -31,7 +31,7 @@ namespace os { void unlock(); private: - friend Condition; + friend class Condition; void* systemMutex; }; |