summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
authorBrandl, Matthäus (MBR) <Matthaeus.Brandl@eos.info>2018-02-27 22:27:15 +0100
committerBrandl, Matthäus (MBR) <Matthaeus.Brandl@eos.info>2018-02-27 22:27:15 +0100
commitb8d1d07ad8d6610091eb13394e990a74e9ed0135 (patch)
tree3011084fa0b92762ab5b3d2bbc4279274227f156 /src/pugixml.hpp
parent2ec3579f296fdea783a806179424b28b2f3c0100 (diff)
Enables usage of override specifier for MSVC compilers (beginning with 17.0 which is the compiler of Visual Studio 2012)
Diffstat (limited to 'src/pugixml.hpp')
-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