Skip to content

Commit bf8b327

Browse files
committed
Avoid syntax that is deprecated in C++23
1 parent 057910a commit bf8b327

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/testutils.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ namespace Literals {
370370
* \brief Literal for std::size_t to ease asserting std::size_t with CPPUNIT_ASSERT_EQUAL.
371371
* \remarks Just using "ul"-suffix does not compile under 32-bit architecture!
372372
*/
373-
constexpr std::size_t operator"" _st(unsigned long long size)
373+
constexpr std::size_t operator""_st(unsigned long long size)
374374
{
375375
return static_cast<std::size_t>(size);
376376
}
@@ -379,7 +379,7 @@ constexpr std::size_t operator"" _st(unsigned long long size)
379379
* \brief Literal for uint64 to ease asserting uint64 with CPPUNIT_ASSERT_EQUAL.
380380
* \remarks Just using "ul"-suffix does not compile under 32-bit architecture!
381381
*/
382-
constexpr std::uint64_t operator"" _uint64(unsigned long long size)
382+
constexpr std::uint64_t operator""_uint64(unsigned long long size)
383383
{
384384
return static_cast<std::uint64_t>(size);
385385
}
@@ -388,7 +388,7 @@ constexpr std::uint64_t operator"" _uint64(unsigned long long size)
388388
* \brief Literal for int64 to ease asserting int64 with CPPUNIT_ASSERT_EQUAL.
389389
* \remarks Just using "l"-suffix does not compile under 32-bit architecture!
390390
*/
391-
constexpr std::int64_t operator"" _int64(unsigned long long size)
391+
constexpr std::int64_t operator""_int64(unsigned long long size)
392392
{
393393
return static_cast<std::int64_t>(size);
394394
}

0 commit comments

Comments
 (0)