Browse Source

uint*_t should be prefixed by std:: (#558)

Fixes #557
Jorrit Rouwe 2 years ago
parent
commit
ddd5b5e36d
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Jolt/Core/Core.h

+ 4 - 4
Jolt/Core/Core.h

@@ -341,10 +341,10 @@ using std::istream;
 
 
 // Standard types
 // Standard types
 using uint = unsigned int;
 using uint = unsigned int;
-using uint8 = uint8_t;
-using uint16 = uint16_t;
-using uint32 = uint32_t;
-using uint64 = uint64_t;
+using uint8 = std::uint8_t;
+using uint16 = std::uint16_t;
+using uint32 = std::uint32_t;
+using uint64 = std::uint64_t;
 
 
 // Assert sizes of types
 // Assert sizes of types
 static_assert(sizeof(uint) >= 4, "Invalid size of uint");
 static_assert(sizeof(uint) >= 4, "Invalid size of uint");