From aa117cce42d75d58e47c8d584fec7ace5693df48 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Sun, 6 Nov 2016 11:49:10 -0800 Subject: Refactor move semantics support detection Do it in one place and set PUGIXML_HAS_MOVE if it's available. --- tests/test_xpath_variables.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_xpath_variables.cpp') diff --git a/tests/test_xpath_variables.cpp b/tests/test_xpath_variables.cpp index d9603ce..2033a8e 100644 --- a/tests/test_xpath_variables.cpp +++ b/tests/test_xpath_variables.cpp @@ -474,7 +474,7 @@ TEST_XML(xpath_variables_copy_out_of_memory, "") CHECK(set2.get(STR("d"))->get_node_set().size() == 2); } -#if __cplusplus >= 201103 +#ifdef PUGIXML_HAS_MOVE TEST_XML(xpath_variables_move, "") { xpath_variable_set set; -- cgit v1.2.3