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:
Alessandro Portale
2017-01-19 12:43:39 +01:00
parent 8a32bcc5e7
commit 78fb7f44bf
8 changed files with 84 additions and 1 deletions

View File

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