From eefa72afa1978a9dea10f5b1833fcc8f58a3468e Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Mon, 3 Jul 2017 18:59:12 +0100 Subject: COMMON: Change way the Singleton instances are instantiated This fixes tons of warnings with clang from a recent xcode version on macOS (and possibly other systems) complaining that an instantiation of _singleton is required but no definition is available. --- backends/graphics/opengl/shader.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'backends/graphics') diff --git a/backends/graphics/opengl/shader.cpp b/backends/graphics/opengl/shader.cpp index 0b4c677d70..b405f3d102 100644 --- a/backends/graphics/opengl/shader.cpp +++ b/backends/graphics/opengl/shader.cpp @@ -27,10 +27,6 @@ #include "common/textconsole.h" #include "common/util.h" -namespace Common { -DECLARE_SINGLETON(OpenGL::ShaderManager); -} - namespace OpenGL { namespace { -- cgit v1.2.3