Skip to content
Snippets Groups Projects
Commit 0f9a586c authored by Alexander Karatarakis's avatar Alexander Karatarakis Committed by Jesse Beder
Browse files

Fix _NOEXCEPT not available in VS2017 15.8. Use noexcept for VS2015+ (#597)

parent 4fb1c4b9
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@
// This is here for compatibility with older versions of Visual Studio
// which don't support noexcept
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
#define YAML_CPP_NOEXCEPT _NOEXCEPT
#else
#define YAML_CPP_NOEXCEPT noexcept
......
......@@ -2,7 +2,7 @@
// This is here for compatibility with older versions of Visual Studio
// which don't support noexcept
#ifdef _MSC_VER
#if defined(_MSC_VER) && _MSC_VER < 1900
#define YAML_CPP_NOEXCEPT _NOEXCEPT
#else
#define YAML_CPP_NOEXCEPT noexcept
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment