From 769931efdfc815160c0e6714ab0860ae3702adf1 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 8 Dec 2015 15:27:24 +0100 Subject: [PATCH] Include class keyword for friend declaration Only C++11 allows omitting the class keyword, so include it so the code compiles with older compilers. --- common/os/Mutex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }; -- 2.39.5