summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2018-02-27 14:22:52 -0800
committerGitHub <noreply@github.com>2018-02-27 14:22:52 -0800
commit41219a5a207a25ff16f661fae280523084c12dc3 (patch)
tree3250ca0cfb212c38e09adb7207ba77e36a34c1b1 /src
parentb127cfb18e214b5188924a41f2f8d8ae38bf473f (diff)
parentb8d1d07ad8d6610091eb13394e990a74e9ed0135 (diff)
Merge pull request #184 from brandl-muc/override_for_msvc
Enables usage of override specifier for MSVC compilers
Diffstat (limited to 'src')
-rw-r--r--src/pugixml.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index afe0a4d..9277384 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -85,6 +85,8 @@
#ifndef PUGIXML_OVERRIDE
# if __cplusplus >= 201103
# define PUGIXML_OVERRIDE override
+# elif defined(_MSC_VER) && _MSC_VER >= 1700
+# define PUGIXML_OVERRIDE override
# else
# define PUGIXML_OVERRIDE
# endif