aboutsummaryrefslogtreecommitdiffstats
path: root/liblangutil
diff options
context:
space:
mode:
Diffstat (limited to 'liblangutil')
-rw-r--r--liblangutil/Exceptions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblangutil/Exceptions.h b/liblangutil/Exceptions.h
index 5ad31ab2..22deb058 100644
--- a/liblangutil/Exceptions.h
+++ b/liblangutil/Exceptions.h
@@ -105,7 +105,7 @@ class SecondarySourceLocation
public:
SecondarySourceLocation& append(std::string const& _errMsg, SourceLocation const& _sourceLocation)
{
- infos.push_back(std::make_pair(_errMsg, _sourceLocation));
+ infos.emplace_back(_errMsg, _sourceLocation);
return *this;
}