summaryrefslogtreecommitdiffhomepage
path: root/compat
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
parent13d201581a10be0ca2a0523248a7348c712e0ad9 (diff)
compat: get rid of string literal operator
Diffstat (limited to 'compat')
-rw-r--r--compat/string-literal-operator.hpp9
-rw-r--r--compat/util.hpp1
2 files changed, 0 insertions, 10 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));
-}
diff --git a/compat/util.hpp b/compat/util.hpp
index f679afcf..a1976e35 100644
--- a/compat/util.hpp
+++ b/compat/util.hpp
@@ -3,7 +3,6 @@
#include "opentrack-library-path.h"
#include "ndebug-guard.hpp"
#include "run-in-thread.hpp"
-#include "string-literal-operator.hpp"
#include "meta.hpp"
#include "functional.hpp"
#include "macros.hpp"