From dfc7c3fe2ce087d25defd82bb3e0fdc471d1b850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 24 Aug 2022 12:59:26 +0200 Subject: [PATCH] DebugTools: no need to set hidden visibility for a nested class. It makes no difference in this case, the State struct is not exported even without the attribute. OTOH, it would need to have an EXPORT attribute if it was desired to be exported, for example like done with nested classes in GL::Framebuffer. --- src/Magnum/DebugTools/CompareImage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/DebugTools/CompareImage.h b/src/Magnum/DebugTools/CompareImage.h index e66ec4402..b2d1fefb2 100644 --- a/src/Magnum/DebugTools/CompareImage.h +++ b/src/Magnum/DebugTools/CompareImage.h @@ -92,7 +92,7 @@ class MAGNUM_DEBUGTOOLS_EXPORT ImageComparatorBase { void saveDiagnostic(TestSuite::ComparisonStatusFlags flags, Utility::Debug& out, Containers::StringView path); private: - class MAGNUM_DEBUGTOOLS_LOCAL State; + class State; Containers::Pointer _state; };