From 8509f0fdddf959a59c3a6193a1939cd08c963617 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Thu, 28 Sep 2023 11:43:05 -0600 Subject: [PATCH] Use `struct` for type with exclusively public contents --- include/SFML/System/SuspendAwareClock.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/SFML/System/SuspendAwareClock.hpp b/include/SFML/System/SuspendAwareClock.hpp index 05c2a9d64..b1ff067cc 100644 --- a/include/SFML/System/SuspendAwareClock.hpp +++ b/include/SFML/System/SuspendAwareClock.hpp @@ -51,9 +51,8 @@ namespace sf /// Make sure this implementation is required for your use case. /// //////////////////////////////////////////////////////////// -class SFML_SYSTEM_API SuspendAwareClock +struct SFML_SYSTEM_API SuspendAwareClock { -public: //////////////////////////////////////////////////////////// /// \brief Type traits and static members ///