Utils: Remove old compiler support code

We now support constexpr, noexcept and alignas on all compilers. Next will
be C++ 14 constexpr support.

Change-Id: I254049c60dcd82fc373ec907cbb5702a4b344978
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Marco Bubke
2017-01-17 16:30:41 +01:00
parent 89a3dbb546
commit 8a32bcc5e7
8 changed files with 1 additions and 84 deletions

View File

@@ -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")