diff options
-rw-r--r-- | tests/test_xpath_api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_xpath_api.cpp b/tests/test_xpath_api.cpp index bca22de..bd008fb 100644 --- a/tests/test_xpath_api.cpp +++ b/tests/test_xpath_api.cpp @@ -601,7 +601,7 @@ TEST(xpath_api_query_move) CHECK(q4); CHECK(q4.evaluate_boolean(c)); - q4 = std::move(q4); + q4 = std::move(*&q4); CHECK(q4); CHECK(q4.evaluate_boolean(c)); |