From 50d0cb6e1ef975844507a6258c7c7f23fb80ecec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 22 Dec 2013 23:22:04 +0100 Subject: [PATCH] Minor cleanup. Fixes Clang warnings. --- src/AbstractObject.h | 3 +-- src/DebugMessage.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/AbstractObject.h b/src/AbstractObject.h index e6d2a9158..33b0f26fc 100644 --- a/src/AbstractObject.h +++ b/src/AbstractObject.h @@ -42,8 +42,7 @@ namespace Implementation { struct DebugState; } @brief Base for all OpenGL objects */ class MAGNUM_EXPORT AbstractObject { - friend class Context; - friend class Implementation::DebugState; + friend struct Implementation::DebugState; public: /** diff --git a/src/DebugMessage.h b/src/DebugMessage.h index d91cff627..4f9804390 100644 --- a/src/DebugMessage.h +++ b/src/DebugMessage.h @@ -69,7 +69,7 @@ With default callback the messages will be printed on standard output: Hello from OpenGL command stream! */ class MAGNUM_EXPORT DebugMessage { - friend class Implementation::DebugState; + friend struct Implementation::DebugState; public: /**