tests: Fix clang 3.7 warning
Work around -Wself-move using ref-deref.
This commit is contained in:
parent
708952d84e
commit
9f7994ed71
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue