diff options
Diffstat (limited to 'libtests/cxx11.cc')
-rw-r--r-- | libtests/cxx11.cc | 6 |
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"; } |