From 0bd289897204556f744cd78910a932cd3a8ae3b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 7 Jul 2013 11:08:49 +0200 Subject: [PATCH] GCC 4.5 compatibility: some explicit typing needed. --- src/Platform/WindowlessGlxApplication.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Platform/WindowlessGlxApplication.cpp b/src/Platform/WindowlessGlxApplication.cpp index a439e5496..45274c5b7 100644 --- a/src/Platform/WindowlessGlxApplication.cpp +++ b/src/Platform/WindowlessGlxApplication.cpp @@ -40,7 +40,8 @@ WindowlessGlxApplication::WindowlessGlxApplication(const Arguments&, const Confi } WindowlessGlxApplication::WindowlessGlxApplication(const Arguments&): c(nullptr) { - createContext({}); + /* GCC 4.5 can't handle {} here (wtf) */ + createContext(Configuration()); } #ifndef CORRADE_GCC45_COMPATIBILITY