Skip to content

Commit e0d7a24

Browse files
committed
build: Fix compiler warnings with clang 21 + C++20 (#2033)
Signed-off-by: Larry Gritz <[email protected]>
1 parent 6a2b606 commit e0d7a24

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/testrender/rapidobj/rapidobj.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4178,17 +4178,17 @@ inline std::error_code make_error_code(rapidobj_errc err)
41784178

41794179
namespace detail {
41804180

4181-
constexpr std::size_t operator"" _GiB(unsigned long long int gibibytes) noexcept
4181+
constexpr std::size_t operator""_GiB(unsigned long long int gibibytes) noexcept
41824182
{
41834183
return static_cast<std::size_t>(1024 * 1024 * 1024 * gibibytes);
41844184
}
41854185

4186-
constexpr std::size_t operator"" _MiB(unsigned long long int mebibytes) noexcept
4186+
constexpr std::size_t operator""_MiB(unsigned long long int mebibytes) noexcept
41874187
{
41884188
return static_cast<std::size_t>(1024 * 1024 * mebibytes);
41894189
}
41904190

4191-
constexpr std::size_t operator"" _KiB(unsigned long long int kibibytes) noexcept
4191+
constexpr std::size_t operator""_KiB(unsigned long long int kibibytes) noexcept
41924192
{
41934193
return static_cast<std::size_t>(1024 * kibibytes);
41944194
}

0 commit comments

Comments
 (0)