From e9ee55dbbf04821a3462b7381b7553ea9c852c2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 1 Mar 2025 16:36:00 +0100 Subject: [PATCH] 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. --- src/Magnum/Platform/gl-info.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Magnum/Platform/gl-info.cpp b/src/Magnum/Platform/gl-info.cpp index 66428f445..4b4481171 100644 --- a/src/Magnum/Platform/gl-info.cpp +++ b/src/Magnum/Platform/gl-info.cpp @@ -84,7 +84,7 @@ #include #endif -namespace Magnum { +namespace Magnum { namespace { /** @page magnum-gl-info Magnum GL Info @brief Displays information about Magnum engine OpenGL capabilities @@ -877,6 +877,6 @@ MagnumInfo::MagnumInfo(const Arguments& arguments): Platform::WindowlessApplicat } #endif -} +}} MAGNUM_WINDOWLESSAPPLICATION_MAIN(Magnum::MagnumInfo)