diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2016-11-06 11:49:10 -0800 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2016-11-06 11:49:10 -0800 |
commit | aa117cce42d75d58e47c8d584fec7ace5693df48 (patch) | |
tree | 1ae021c96c50047dd08a767089fb670239dddc13 /tests/test_xpath_variables.cpp | |
parent | b3fc28d177dc1d5bcf937d3e7add77caff5a34f8 (diff) |
Refactor move semantics support detection
Do it in one place and set PUGIXML_HAS_MOVE if it's available.
Diffstat (limited to 'tests/test_xpath_variables.cpp')
-rw-r--r-- | tests/test_xpath_variables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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, "<node1 /><node2 />") CHECK(set2.get(STR("d"))->get_node_set().size() == 2); } -#if __cplusplus >= 201103 +#ifdef PUGIXML_HAS_MOVE TEST_XML(xpath_variables_move, "<node />") { xpath_variable_set set; |