aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-09-04 13:14:08 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-09-04 13:14:08 -0500
commitad5aabc85a8bdac2265d3e168d23c561aa8df81c (patch)
tree74f9242641745466b50613bf5bc67a112bf3d8b3
parentMerge pull request #4263 (diff)
parentunit_tests: remove std::move in return statement (diff)
downloadmonero-ad5aabc85a8bdac2265d3e168d23c561aa8df81c.tar.xz
Merge pull request #4264
0c8d8f6 unit_tests: remove std::move in return statement (moneromooo-monero)
-rw-r--r--tests/unit_tests/serialization.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/serialization.cpp b/tests/unit_tests/serialization.cpp
index 5bec280b1..2f7b5aac7 100644
--- a/tests/unit_tests/serialization.cpp
+++ b/tests/unit_tests/serialization.cpp
@@ -824,7 +824,7 @@ TEST(Serialization, portability_outputs)
return {};
}
crypto::chacha8(ciphertext.data() + sizeof(iv), ciphertext.size() - prefix_size, key, iv, &plaintext[0]);
- return std::move(plaintext);
+ return plaintext;
};
crypto::secret_key view_secret_key;
epee::string_tools::hex_to_pod("339673bb1187e2f73ba7841ab6841c5553f96e9f13f8fe6612e69318db4e9d0a", view_secret_key);