Skip to content

Commit

Permalink
Explicitly include cstdint to fix compile errors
Browse files Browse the repository at this point in the history
[  0%] Building CXX object CMakeFiles/RMLUI_LIB.dir/libs/RmlUi/Source/Core/Element.cpp.o
In file included from /mnt/media/code/Unvanquished/libs/RmlUi/Source/Core/Element.cpp:52:
/mnt/media/code/Unvanquished/libs/RmlUi/Source/Core/ElementStyle.h:43:6: warning: elaborated-type-specifier for a scoped enum must not use the ‘class’ keyword
   43 | enum class PseudoClassState : std::uint8_t { Clear = 0, Set = 1, Override = 2 };
      | ~~~~ ^~~~~
      |      -----
  • Loading branch information
DolceTriade authored and slipher committed Aug 19, 2023
1 parent ce20ce3 commit ed72a90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Include/RmlUi/Core/Types.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

#include "../Config/Config.h"

#include <cstdint>
#include <cstdlib>
#include <memory>

Expand Down

0 comments on commit ed72a90

Please sign in to comment.