Browse Source

GCC 4.5 compatibility: some explicit typing needed.

Vladimír Vondruš 13 years ago
parent
commit
0bd2898972
  1. 3
      src/Platform/WindowlessGlxApplication.cpp

3
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

Loading…
Cancel
Save