summaryrefslogtreecommitdiffhomepage
path: root/compat/string-literal-operator.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-17 02:16:02 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-17 02:16:02 +0100
commitba46d4526a6cb17242bc82ddaf88fca112f28742 (patch)
treea3f61d9ce9406a4cbbe872e65104adaa260ec355 /compat/string-literal-operator.hpp
parent13d201581a10be0ca2a0523248a7348c712e0ad9 (diff)
compat: get rid of string literal operator
Diffstat (limited to 'compat/string-literal-operator.hpp')
-rw-r--r--compat/string-literal-operator.hpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/compat/string-literal-operator.hpp b/compat/string-literal-operator.hpp
deleted file mode 100644
index e957803c..00000000
--- a/compat/string-literal-operator.hpp
+++ /dev/null
@@ -1,9 +0,0 @@
-#pragma once
-
-#include <QLatin1String>
-#include <cstddef>
-
-static inline constexpr auto operator"" _qstr(const char* str, std::size_t N)
-{
- return QLatin1String(str, int(N));
-}