aboutsummaryrefslogtreecommitdiff
path: root/lib/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util.h')
-rw-r--r--lib/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.h b/lib/util.h
index cb0ff44a..7f09de28 100644
--- a/lib/util.h
+++ b/lib/util.h
@@ -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));
}