Skip to content

Commit

Permalink
Replace C-header <stdint.h> by C++-header <cstdint>.
Browse files Browse the repository at this point in the history
That should ensure that `uintXX_t` is (also) in namespace `std`.
  • Loading branch information
Jarod42 committed Apr 25, 2024
1 parent 310fd08 commit 2d73b7f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/editor/editloop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
-- Includes
----------------------------------------------------------------------------*/

#include <cstdint>
#include <deque>
#include <stdint.h>

#include "stratagus.h"

Expand Down
2 changes: 1 addition & 1 deletion src/include/net_message.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

//@{

#include <stdint.h>
#include <cstdint>
#include <vector>

#include "settings.h"
Expand Down
2 changes: 1 addition & 1 deletion src/include/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
//@{

#include <bitset>
#include <stdint.h>
#include <cstdint>
#include <string>
#include <vector>
#include <functional>
Expand Down

0 comments on commit 2d73b7f

Please sign in to comment.