forked from qt-creator/qt-creator
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:
@@ -33,11 +33,6 @@
|
||||
|
||||
#include <QStringList>
|
||||
|
||||
#pragma push_macro("noexcept")
|
||||
#ifndef __cpp_noexcept
|
||||
#define noexcept
|
||||
#endif
|
||||
|
||||
namespace Utils {
|
||||
|
||||
template<uint SmallStringSize>
|
||||
@@ -160,5 +155,3 @@ private:
|
||||
using SmallStringVector = BasicSmallStringVector<31>;
|
||||
using PathStringVector = BasicSmallStringVector<191>;
|
||||
} // namespace Utils;
|
||||
|
||||
#pragma pop_macro("noexcept")
|
||||
|
||||
Reference in New Issue
Block a user