aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/smallstringview.h
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2017-01-19 13:07:26 +0100
committerRobert Loehning <robert.loehning@qt.io>2017-01-19 12:21:43 +0000
commiteeb0b8fd21dba8421bd50b475a6442c27b63a1a6 (patch)
tree5e98b54f7dbb41bab5161978540948b62c95f5fd /src/libs/utils/smallstringview.h
parent5dc8e9a743481b6e7bddacc4d5597760bfc0d045 (diff)
Revert "Revert "Utils: Remove old compiler support code""
Thomas provided a smaller fix. This reverts commit 78fb7f44bf393d8b9e3e22fcccc4ae7951d4bb6e. Change-Id: I1edff6477526fe4ce29df38852f47fe49117561e Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/libs/utils/smallstringview.h')
-rw-r--r--src/libs/utils/smallstringview.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/libs/utils/smallstringview.h b/src/libs/utils/smallstringview.h
index c0cb4aedbb3..71d04fe20d2 100644
--- a/src/libs/utils/smallstringview.h
+++ b/src/libs/utils/smallstringview.h
@@ -31,16 +31,6 @@
#include <cstring>
-#pragma push_macro("constexpr")
-#ifndef __cpp_constexpr
-#define constexpr
-#endif
-
-#pragma push_macro("noexcept")
-#ifndef __cpp_noexcept
-#define noexcept
-#endif
-
namespace Utils {
class SmallStringView
@@ -135,6 +125,3 @@ bool operator!=(const SmallStringView& first, const SmallStringView& second) noe
}
} // namespace Utils
-
-#pragma pop_macro("noexcept")
-#pragma pop_macro("constexpr")