Browse Source

gl-info: wrap the Application class in an anonymous namespace.

So it's not exposed as a symbol one could link to for no reason.
pull/674/head
Vladimír Vondruš 1 year ago
parent
commit
e9ee55dbbf
  1. 4
      src/Magnum/Platform/gl-info.cpp

4
src/Magnum/Platform/gl-info.cpp

@ -84,7 +84,7 @@
#include <emscripten/version.h> #include <emscripten/version.h>
#endif #endif
namespace Magnum { namespace Magnum { namespace {
/** @page magnum-gl-info Magnum GL Info /** @page magnum-gl-info Magnum GL Info
@brief Displays information about Magnum engine OpenGL capabilities @brief Displays information about Magnum engine OpenGL capabilities
@ -877,6 +877,6 @@ MagnumInfo::MagnumInfo(const Arguments& arguments): Platform::WindowlessApplicat
} }
#endif #endif
} }}
MAGNUM_WINDOWLESSAPPLICATION_MAIN(Magnum::MagnumInfo) MAGNUM_WINDOWLESSAPPLICATION_MAIN(Magnum::MagnumInfo)

Loading…
Cancel
Save