diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-05-12 20:02:53 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-05-12 20:02:53 -0700 |
commit | 9f7994ed714e6a4ffff3959092b9720ca77de77f (patch) | |
tree | d3359d3b6700c75d05ace51ab6213c3928fc2c30 /tests | |
parent | 708952d84ebaa1e6c5fa080596bf4a5357789d5d (diff) |
tests: Fix clang 3.7 warning
Work around -Wself-move using ref-deref.
Diffstat (limited to 'tests')
-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)); |