diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2018-12-18 09:14:43 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2018-12-18 09:14:43 +0100 |
commit | 1dd2f823e9629f9c147867d3e3a19ac8d52795f9 (patch) | |
tree | 75b001f0fec010c14c7eecf181ca19da367e5fa9 /test/UnitFuzz.cpp | |
parent | 61bd04fefb4cbcca34b81e88991eed5a1ccfcfd2 (diff) |
UnitFuzz: avoid manual std::move()
std::move() is implemented with release + reset in fact.
Change-Id: If5f0dc8f10066a7ee1ca37f7c5039fcd0affb755
Diffstat (limited to 'test/UnitFuzz.cpp')
-rw-r--r-- | test/UnitFuzz.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/UnitFuzz.cpp b/test/UnitFuzz.cpp index e9b1d9d06..8e48d13e6 100644 --- a/test/UnitFuzz.cpp +++ b/test/UnitFuzz.cpp @@ -114,7 +114,7 @@ public: c |= 0x80; } - replace.reset(fuzzed.release()); + replace = std::move(fuzzed); return true; } |