Use struct for user defined type with no private section

This commit is contained in:
Chris Thrasher 2023-08-22 23:52:30 -06:00
parent e5c41c4eb5
commit 71615c8268
3 changed files with 3 additions and 4 deletions

View File

@ -41,9 +41,8 @@ namespace sf
/// \brief Defines a system event and its parameters /// \brief Defines a system event and its parameters
/// ///
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
class Event struct Event
{ {
public:
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
/// \brief Size events parameters (Resized) /// \brief Size events parameters (Resized)
/// ///

View File

@ -44,7 +44,7 @@ namespace priv
class GlContext; class GlContext;
} }
class Event; struct Event;
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
/// \brief Window that serves as a target for OpenGL rendering /// \brief Window that serves as a target for OpenGL rendering

View File

@ -50,7 +50,7 @@ namespace priv
class WindowImpl; class WindowImpl;
} }
class Event; struct Event;
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
/// \brief Window that serves as a base for other windows /// \brief Window that serves as a base for other windows