From b8d1d07ad8d6610091eb13394e990a74e9ed0135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brandl=2C=20Matth=C3=A4us=20=28MBR=29?= Date: Tue, 27 Feb 2018 22:27:15 +0100 Subject: Enables usage of override specifier for MSVC compilers (beginning with 17.0 which is the compiler of Visual Studio 2012) --- src/pugixml.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 -- cgit v1.2.3