diff --git a/FacadeTest.cpp b/FacadeTest.cpp index 0eb89e3..5ba5f91 100644 --- a/FacadeTest.cpp +++ b/FacadeTest.cpp @@ -3,11 +3,11 @@ #include "VersionedMap.h" #include -inline weaselab::VersionedMap::Key operator"" _k(const char *str, size_t size) { +inline weaselab::VersionedMap::Key operator""_k(const char *str, size_t size) { return {reinterpret_cast(str), int(size)}; } -inline String operator"" _s(const char *str, size_t size) { +inline String operator""_s(const char *str, size_t size) { return String{reinterpret_cast(str), size}; } @@ -92,4 +92,4 @@ int main() { printMutation(*iter); } } -} \ No newline at end of file +}