diff options
| author | 2015-12-22 21:05:27 +0100 | |
|---|---|---|
| committer | 2015-12-22 21:05:27 +0100 | |
| commit | e9fcfacb740cb238937b6bccf6dc08e4ece3cfb9 (patch) | |
| tree | eda1f2fed141e8c8d5d599185afaee1f7c4a9363 /src/lib | |
| parent | dc48253ce8fc638c0508a30b34d54bcd269259f1 (diff) | |
Fixed missing noexcept in Visual Studio 2013.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/util/coretmpl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/util/coretmpl.h b/src/lib/util/coretmpl.h index 95b6347ed8e..c97249de9f1 100644 --- a/src/lib/util/coretmpl.h +++ b/src/lib/util/coretmpl.h @@ -19,6 +19,11 @@ #include <vector> #include <memory> +#if defined(_MSC_VER) && (_MSC_VER < 1900) +#include <yvals.h> +#define noexcept _NOEXCEPT +#endif + // TEMPORARY helper to catch is_pod assertions in the debugger #if 0 #undef assert |
