From c339063566d0f55395695d7506afb460d4a53f0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 6 Feb 2013 22:59:41 +0100 Subject: [PATCH] Don't instanitate/declare structs as classes. Clang warned about that. --- src/AbstractTexture.cpp | 6 +++--- src/Context.h | 2 +- src/Magnum.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/AbstractTexture.cpp b/src/AbstractTexture.cpp index 5f9492970..33d5f534a 100644 --- a/src/AbstractTexture.cpp +++ b/src/AbstractTexture.cpp @@ -458,9 +458,9 @@ namespace Implementation { return nullptr; } - template class ImageHelper; - template class ImageHelper; - template class ImageHelper; + template struct ImageHelper; + template struct ImageHelper; + template struct ImageHelper; } #endif diff --git a/src/Context.h b/src/Context.h index e072a2826..f0153c75e 100644 --- a/src/Context.h +++ b/src/Context.h @@ -30,7 +30,7 @@ namespace Magnum { #ifndef DOXYGEN_GENERATING_OUTPUT namespace Implementation { - class State; + struct State; } #endif diff --git a/src/Magnum.h b/src/Magnum.h index 017261599..440d57a67 100644 --- a/src/Magnum.h +++ b/src/Magnum.h @@ -53,7 +53,7 @@ namespace Magnum { namespace Math { template constexpr T deg(T value); template constexpr T rad(T value); - template class Constants; + template struct Constants; } /* Bring debugging facility from Corrade::Utility namespace */