test/UnitFuzz.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1dd2f823e9629f9c147867d3e3a19ac8d52795f9
Author:     Miklos Vajna <[email protected]>
AuthorDate: Tue Dec 18 09:14:43 2018 +0100
Commit:     Miklos Vajna <[email protected]>
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;
     }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to