Replace push_back(Constructor(foo)) with emplace_back(foo) for non-trivial types
[oota-llvm.git] / tools / llvm-pdbdump / LinePrinter.h
index c2a3ab60d90f56d800be6ef887b211c00ce05305..b985e93419095db298084fadd401edfe7d816f4f 100644 (file)
@@ -41,7 +41,7 @@ private:
   void SetFilters(std::list<Regex> &List, Iter Begin, Iter End) {
     List.clear();
     for (; Begin != End; ++Begin)
-      List.push_back(StringRef(*Begin));
+      List.emplace_back(StringRef(*Begin));
   }
 
   raw_ostream &OS;