From ba46d4526a6cb17242bc82ddaf88fca112f28742 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 17 Jan 2018 02:16:02 +0100 Subject: compat: get rid of string literal operator --- compat/string-literal-operator.hpp | 9 --------- compat/util.hpp | 1 - 2 files changed, 10 deletions(-) delete mode 100644 compat/string-literal-operator.hpp (limited to 'compat') 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 -#include - -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" -- cgit v1.2.3