diff options
Diffstat (limited to 'buildtool.cpp')
| -rw-r--r-- | buildtool.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/buildtool.cpp b/buildtool.cpp index cb70a25c2..a64340e24 100644 --- a/buildtool.cpp +++ b/buildtool.cpp @@ -9966,7 +9966,8 @@ bool Make::parseFile() return false; } //more work than targets[tname]=target, but avoids default allocator - targets.insert(std::make_pair<String, Target>(tname, target)); + auto pair = std::make_pair(tname, target); + targets.insert(pair); } //######### none of the above else |
