forked from qt-creator/qt-creator
Revert "Utils: Remove old compiler support code"
This reverts commit 8a32bcc5e7.
Broke build with MSVC 2015, update 3
Change-Id: Icb59b70fb00ea2a2ecc8d26c8177d21d82aaccf2
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -33,6 +33,11 @@
|
||||
|
||||
#include <QStringList>
|
||||
|
||||
#pragma push_macro("noexcept")
|
||||
#ifndef __cpp_noexcept
|
||||
#define noexcept
|
||||
#endif
|
||||
|
||||
namespace Utils {
|
||||
|
||||
template<uint SmallStringSize>
|
||||
@@ -155,3 +160,5 @@ private:
|
||||
using SmallStringVector = BasicSmallStringVector<31>;
|
||||
using PathStringVector = BasicSmallStringVector<191>;
|
||||
} // namespace Utils;
|
||||
|
||||
#pragma pop_macro("noexcept")
|
||||
|
||||
Reference in New Issue
Block a user