aboutsummaryrefslogtreecommitdiffstats
path: root/libtests
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-11-14 12:50:59 +0100
committerJay Berkenbilt <jberkenbilt@users.noreply.github.com>2022-11-14 13:05:58 +0100
commitfc64d0a3711f5e1c01874c69d405bbbb52a55a6e (patch)
treed6e9b9a57fcc8430949bc3f65e0f82f1bcf17d58 /libtests
parentb30273f1740ea7b6ce79a50aef7916b8b18502b4 (diff)
downloadqpdf-fc64d0a3711f5e1c01874c69d405bbbb52a55a6e.tar.zst
Fix stray formatting error
Diffstat (limited to 'libtests')
-rw-r--r--libtests/cxx11.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/libtests/cxx11.cc b/libtests/cxx11.cc
index 250e7e2b..ac18e13e 100644
--- a/libtests/cxx11.cc
+++ b/libtests/cxx11.cc
@@ -378,12 +378,14 @@ do_regex()
assert((*m3)[2].matched);
}
-static long operator""_x(char const* v)
+static long
+operator""_x(char const* v)
{
return strtol(v, nullptr, 16);
}
-static std::string operator""_y(char const* v, size_t len)
+static std::string
+operator""_y(char const* v, size_t len)
{
return "y" + std::string(v, len) + "y";
}