Browse Source

Platform: WindolessGlxApplication::Configuration can be a POD.

No need to create symbols for empty constructor/destructor.
pull/34/head
Vladimír Vondruš 13 years ago
parent
commit
da049642cf
  1. 3
      src/Platform/WindowlessGlxApplication.cpp
  2. 3
      src/Platform/WindowlessGlxApplication.h

3
src/Platform/WindowlessGlxApplication.cpp

@ -119,7 +119,4 @@ WindowlessGlxApplication::~WindowlessGlxApplication() {
glXDestroyContext(display, context);
}
WindowlessGlxApplication::Configuration::Configuration() = default;
WindowlessGlxApplication::Configuration::~Configuration() = default;
}}

3
src/Platform/WindowlessGlxApplication.h

@ -134,8 +134,7 @@ class WindowlessGlxApplication {
*/
class WindowlessGlxApplication::Configuration {
public:
/*implicit*/ Configuration();
~Configuration();
constexpr /*implicit*/ Configuration() {}
};
/** @hideinitializer

Loading…
Cancel
Save