[llvm] r301061 - Fixup for r301054: Use an explicit constructor.

Kuba Mracek via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 21 16:28:01 PDT 2017


Author: kuba.brecka
Date: Fri Apr 21 18:28:01 2017
New Revision: 301061

URL: http://llvm.org/viewvc/llvm-project?rev=301061&view=rev
Log:
Fixup for r301054: Use an explicit constructor.


Modified:
    llvm/trunk/lib/Fuzzer/FuzzerMerge.h

Modified: llvm/trunk/lib/Fuzzer/FuzzerMerge.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/FuzzerMerge.h?rev=301061&r1=301060&r2=301061&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/FuzzerMerge.h (original)
+++ llvm/trunk/lib/Fuzzer/FuzzerMerge.h Fri Apr 21 18:28:01 2017
@@ -69,7 +69,7 @@ struct Merger {
   size_t Merge(const std::set<uint32_t> &InitialFeatures,
                std::vector<std::string> *NewFiles);
   size_t Merge(std::vector<std::string> *NewFiles) {
-    return Merge({}, NewFiles);
+    return Merge(std::set<uint32_t>{}, NewFiles);
   }
   size_t ApproximateMemoryConsumption() const;
   std::set<uint32_t> AllFeatures() const;




More information about the llvm-commits mailing list