Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
0f9a586c
Commit
0f9a586c
authored
Jun 30, 2018
by
Alexander Karatarakis
Committed by
Jesse Beder
Jun 30, 2018
Browse files
Fix _NOEXCEPT not available in VS2017 15.8. Use noexcept for VS2015+ (#597)
parent
4fb1c4b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
include/yaml-cpp/exceptions.h
include/yaml-cpp/exceptions.h
+1
-1
src/exceptions.cpp
src/exceptions.cpp
+1
-1
No files found.
include/yaml-cpp/exceptions.h
View file @
0f9a586c
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
// This is here for compatibility with older versions of Visual Studio
// This is here for compatibility with older versions of Visual Studio
// which don't support noexcept
// which don't support noexcept
#ifdef _MSC_VER
#if
def
ined(_MSC_VER) &&
_MSC_VER
< 1900
#define YAML_CPP_NOEXCEPT _NOEXCEPT
#define YAML_CPP_NOEXCEPT _NOEXCEPT
#else
#else
#define YAML_CPP_NOEXCEPT noexcept
#define YAML_CPP_NOEXCEPT noexcept
...
...
src/exceptions.cpp
View file @
0f9a586c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
// This is here for compatibility with older versions of Visual Studio
// This is here for compatibility with older versions of Visual Studio
// which don't support noexcept
// which don't support noexcept
#ifdef _MSC_VER
#if
def
ined(_MSC_VER) &&
_MSC_VER
< 1900
#define YAML_CPP_NOEXCEPT _NOEXCEPT
#define YAML_CPP_NOEXCEPT _NOEXCEPT
#else
#else
#define YAML_CPP_NOEXCEPT noexcept
#define YAML_CPP_NOEXCEPT noexcept
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment