diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-07-24 19:19:04 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-07-24 19:19:04 +0200 |
commit | f340d73ae5dac0d0cfee732aabbd5222c7be16dd (patch) | |
tree | 297ad34bf54c0e38e7bb54fb268ae406dee7768f /lib | |
parent | e4bfe89b3b2fea57a7267abb7cf892e15f1deeb5 (diff) | |
download | libquotient-f340d73ae5dac0d0cfee732aabbd5222c7be16dd.tar.gz libquotient-f340d73ae5dac0d0cfee732aabbd5222c7be16dd.zip |
Make operator ""_ls constexpr
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -196,7 +196,7 @@ inline auto wrap_in_function(FnT&& f) return typename function_traits<FnT>::function_type(std::forward<FnT>(f)); } -inline auto operator"" _ls(const char* s, std::size_t size) +inline constexpr auto operator"" _ls(const char* s, std::size_t size) { return QLatin1String(s, int(size)); } |