aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-pdbdump/LinePrinter.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvm-pdbdump/LinePrinter.h')
-rw-r--r--tools/llvm-pdbdump/LinePrinter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-pdbdump/LinePrinter.h b/tools/llvm-pdbdump/LinePrinter.h
index c2a3ab60d90f..b985e9341909 100644
--- a/tools/llvm-pdbdump/LinePrinter.h
+++ b/tools/llvm-pdbdump/LinePrinter.h
@@ -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;