summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-17 02:03:02 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-17 02:03:02 +0100
commit1c93b24a0f750ddca2d8a929f4836f520671618e (patch)
tree9e3201224634235fcc391ac8fc159d4f8036ea97
parent18aefffd3ee45cfe3a67cb0e42268d38c275046b (diff)
fix build
-rw-r--r--compat/string-literal-operator.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/string-literal-operator.hpp b/compat/string-literal-operator.hpp
index 3ea4eb11..e957803c 100644
--- a/compat/string-literal-operator.hpp
+++ b/compat/string-literal-operator.hpp
@@ -5,5 +5,5 @@
static inline constexpr auto operator"" _qstr(const char* str, std::size_t N)
{
- return QLatin1String(str, str + N);
+ return QLatin1String(str, int(N));
}