src: Remove unnecessary std::move to allow copy elision
Change-Id: I1a83c762dfc51525affd5b01a3c4822b9579c57a
Refs: #3357
diff --git a/tests/unit-tests/name.t.cpp b/tests/unit-tests/name.t.cpp
index 96732fd..3d0d02e 100644
--- a/tests/unit-tests/name.t.cpp
+++ b/tests/unit-tests/name.t.cpp
@@ -164,7 +164,7 @@
BOOST_CHECK(nameEncoded == nameBlock);
Name name2;
- BOOST_REQUIRE_NO_THROW(name2 = std::move(Name(nameUri)));
+ BOOST_REQUIRE_NO_THROW(name2 = Name(nameUri));
BOOST_CHECK_EQUAL(name2.toUri(), nameUri);
Block name2Encoded = name2.wireEncode();
BOOST_CHECK(name2Encoded == nameBlock);