Revert "Revert "Utils: Remove old compiler support code""

Thomas provided a smaller fix.
This reverts commit 78fb7f44bf.

Change-Id: I1edff6477526fe4ce29df38852f47fe49117561e
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Robert Loehning
2017-01-19 13:07:26 +01:00
parent 5dc8e9a743
commit eeb0b8fd21
8 changed files with 1 additions and 84 deletions

View File

@@ -45,19 +45,6 @@
#include <utility>
#include <vector>
#pragma push_macro("constexpr")
#ifndef __cpp_constexpr
#define constexpr
#endif
#pragma push_macro("noexcept")
#ifdef __clang__
#define __cpp_noexcept 201003
#endif
#ifndef __cpp_noexcept
#define noexcept
#endif
#ifdef UNIT_TESTS
#define unitttest_public public
#else
@@ -864,6 +851,3 @@ using SmallString = BasicSmallString<31>;
using PathString = BasicSmallString<191>;
} // namespace Utils
#pragma pop_macro("noexcept")
#pragma pop_macro("constexpr")