From da049642cf415becd733769fc838de9b71f6e04d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 7 Dec 2013 20:31:32 +0100 Subject: [PATCH] Platform: WindolessGlxApplication::Configuration can be a POD. No need to create symbols for empty constructor/destructor. --- src/Platform/WindowlessGlxApplication.cpp | 3 --- src/Platform/WindowlessGlxApplication.h | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Platform/WindowlessGlxApplication.cpp b/src/Platform/WindowlessGlxApplication.cpp index e71181530..357d9eae3 100644 --- a/src/Platform/WindowlessGlxApplication.cpp +++ b/src/Platform/WindowlessGlxApplication.cpp @@ -119,7 +119,4 @@ WindowlessGlxApplication::~WindowlessGlxApplication() { glXDestroyContext(display, context); } -WindowlessGlxApplication::Configuration::Configuration() = default; -WindowlessGlxApplication::Configuration::~Configuration() = default; - }} diff --git a/src/Platform/WindowlessGlxApplication.h b/src/Platform/WindowlessGlxApplication.h index 627c844c8..720c5320a 100644 --- a/src/Platform/WindowlessGlxApplication.h +++ b/src/Platform/WindowlessGlxApplication.h @@ -134,8 +134,7 @@ class WindowlessGlxApplication { */ class WindowlessGlxApplication::Configuration { public: - /*implicit*/ Configuration(); - ~Configuration(); + constexpr /*implicit*/ Configuration() {} }; /** @hideinitializer