Browse Source

Platform: deinline also these destructors.

Miight reduce some code bloat.
pull/34/head
Vladimír Vondruš 13 years ago
parent
commit
b744943c98
  1. 2
      src/Platform/GlxApplication.cpp
  2. 2
      src/Platform/GlxApplication.h
  3. 2
      src/Platform/XEglApplication.cpp
  4. 2
      src/Platform/XEglApplication.h

2
src/Platform/GlxApplication.cpp

@ -33,6 +33,8 @@ GlxApplication::GlxApplication(const Arguments& arguments, const Configuration&
GlxApplication::GlxApplication(const Arguments& arguments, std::nullptr_t): AbstractXApplication(new Implementation::GlxContextHandler, arguments, nullptr) {}
GlxApplication::~GlxApplication() = default;
template class BasicScreen<GlxApplication>;
template class BasicScreenedApplication<GlxApplication>;

2
src/Platform/GlxApplication.h

@ -75,7 +75,7 @@ class GlxApplication: public AbstractXApplication {
protected:
/* Nobody will need to have (and delete) GlxApplication*, thus this is
faster than public pure virtual destructor */
~GlxApplication() = default;
~GlxApplication();
};
/** @hideinitializer

2
src/Platform/XEglApplication.cpp

@ -33,6 +33,8 @@ XEglApplication::XEglApplication(const Arguments& arguments, const Configuration
XEglApplication::XEglApplication(const Arguments& arguments, std::nullptr_t): AbstractXApplication(new Implementation::EglContextHandler, arguments, nullptr) {}
XEglApplication::~XEglApplication() = default;
template class BasicScreen<XEglApplication>;
template class BasicScreenedApplication<XEglApplication>;

2
src/Platform/XEglApplication.h

@ -76,7 +76,7 @@ class XEglApplication: public AbstractXApplication {
protected:
/* Nobody will need to have (and delete) XEglApplication*, thus this is
faster than public pure virtual destructor */
~XEglApplication() = default;
~XEglApplication();
};
/** @hideinitializer

Loading…
Cancel
Save