summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
authoriFarbod <ifarbod@users.noreply.github.com>2016-11-06 23:13:03 +0330
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2016-11-06 11:43:03 -0800
commitb3fc28d177dc1d5bcf937d3e7add77caff5a34f8 (patch)
treefdbf2bcf59dc90abb39b15730093d9a0e03c0391 /src/pugixml.hpp
parenta832e8a5eff11f58a00ca41ec51ff3895b0da165 (diff)
Add VS2013 check for C++11 availability (#121)
VS 2013 supports C++11, but __cplusplus macro isn't updated, and it is 199711 so the old check always fails, even though the compiler supports c++11.
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r--src/pugixml.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index c4d44e6..44ad066 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -1117,7 +1117,7 @@ namespace pugi
xpath_variable_set(const xpath_variable_set& rhs);
xpath_variable_set& operator=(const xpath_variable_set& rhs);
- #if __cplusplus >= 201103
+ #if __cplusplus >= 201103 || (defined(_MSC_VER) && _MSC_VER >= 1800)
// Move semantics support
xpath_variable_set(xpath_variable_set&& rhs);
xpath_variable_set& operator=(xpath_variable_set&& rhs);
@@ -1161,7 +1161,7 @@ namespace pugi
// Destructor
~xpath_query();
- #if __cplusplus >= 201103
+ #if __cplusplus >= 201103 || (defined(_MSC_VER) && _MSC_VER >= 1800)
// Move semantics support
xpath_query(xpath_query&& rhs);
xpath_query& operator=(xpath_query&& rhs);
@@ -1302,7 +1302,7 @@ namespace pugi
xpath_node_set(const xpath_node_set& ns);
xpath_node_set& operator=(const xpath_node_set& ns);
- #if __cplusplus >= 201103
+ #if __cplusplus >= 201103 || (defined(_MSC_VER) && _MSC_VER >= 1800)
// Move semantics support
xpath_node_set(xpath_node_set&& rhs);
xpath_node_set& operator=(xpath_node_set&& rhs);