From 9f7994ed714e6a4ffff3959092b9720ca77de77f Mon Sep 17 00:00:00 2001
From: Arseny Kapoulkine <arseny.kapoulkine@gmail.com>
Date: Tue, 12 May 2015 20:02:53 -0700
Subject: tests: Fix clang 3.7 warning

Work around -Wself-move using ref-deref.
---
 tests/test_xpath_api.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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));
-- 
cgit v1.2.3