[Libreoffice-commits] online.git: test/UnitFuzz.cpp
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Dec 18 08:15:05 UTC 2018
test/UnitFuzz.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1dd2f823e9629f9c147867d3e3a19ac8d52795f9
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Tue Dec 18 09:14:43 2018 +0100
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Tue Dec 18 09:14:43 2018 +0100
UnitFuzz: avoid manual std::move()
std::move() is implemented with release + reset in fact.
Change-Id: If5f0dc8f10066a7ee1ca37f7c5039fcd0affb755
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;
}
More information about the Libreoffice-commits
mailing list