Skip to content

Commit fb5626f

Browse files
committed
Deprecation warning fixed
1 parent e6f22aa commit fb5626f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

utility/integer_literals.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,27 @@
33
#include <stdint.h>
44
#include <stddef.h> // size_t
55

6-
[[nodiscard]] inline constexpr uint64_t operator "" _u64(unsigned long long value)
6+
[[nodiscard]] inline constexpr uint64_t operator ""_u64(unsigned long long value)
77
{
88
return static_cast<uint64_t>(value);
99
}
1010

11-
[[nodiscard]] inline constexpr size_t operator "" _z(unsigned long long value)
11+
[[nodiscard]] inline constexpr size_t operator ""_z(unsigned long long value)
1212
{
1313
return static_cast<size_t>(value);
1414
}
1515

16-
[[nodiscard]] inline constexpr int64_t operator "" _i64(unsigned long long value)
16+
[[nodiscard]] inline constexpr int64_t operator ""_i64(unsigned long long value)
1717
{
1818
return static_cast<int64_t>(value);
1919
}
2020

21-
[[nodiscard]] inline constexpr uint16_t operator "" _u16(unsigned long long value)
21+
[[nodiscard]] inline constexpr uint16_t operator ""_u16(unsigned long long value)
2222
{
2323
return static_cast<uint16_t>(value);
2424
}
2525

26-
[[nodiscard]] inline constexpr int16_t operator "" _i16(unsigned long long value)
26+
[[nodiscard]] inline constexpr int16_t operator ""_i16(unsigned long long value)
2727
{
2828
return static_cast<int16_t>(value);
2929
}

0 commit comments

Comments
 (0)