aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-12-08 15:27:24 +0100
committerPierre Ossman <ossman@cendio.se>2015-12-08 15:27:24 +0100
commit769931efdfc815160c0e6714ab0860ae3702adf1 (patch)
tree685233204aa845139b6e0747eb80287a9396cbdd /common
parent398a6f43327ea3a8c1e58ed77f34fd4409cccb9d (diff)
downloadtigervnc-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')
-rw-r--r--common/os/Mutex.h2
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;
};