tests: Fix clang 3.7 warning
Work around -Wself-move using ref-deref.
This commit is contained in:
parent
708952d84e
commit
9f7994ed71
@ -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…
Reference in New Issue
Block a user