commit | 769931efdfc815160c0e6714ab0860ae3702adf1 | [log] [tgz] |
---|---|---|
author | Pierre Ossman <ossman@cendio.se> | Tue Dec 08 15:27:24 2015 +0100 |
committer | Pierre Ossman <ossman@cendio.se> | Tue Dec 08 15:27:24 2015 +0100 |
tree | 685233204aa845139b6e0747eb80287a9396cbdd | |
parent | 398a6f43327ea3a8c1e58ed77f34fd4409cccb9d [diff] |
Include class keyword for friend declaration Only C++11 allows omitting the class keyword, so include it so the code compiles with older compilers.
diff --git a/common/os/Mutex.h b/common/os/Mutex.h index 2a54b20..63c7e0c 100644 --- a/common/os/Mutex.h +++ b/common/os/Mutex.h
@@ -31,7 +31,7 @@ void unlock(); private: - friend Condition; + friend class Condition; void* systemMutex; };