summaryrefslogtreecommitdiffstats
path: root/buildtool.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2016-08-05 14:24:45 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2016-08-05 14:24:45 +0000
commitf9464efc86f5a9f232d90963ea7c1ff5f982cb9c (patch)
tree37b4b3ffcb436a6208e305209a129134958f7564 /buildtool.cpp
parentUse C++11 unordered containers (diff)
downloadinkscape-f9464efc86f5a9f232d90963ea7c1ff5f982cb9c.tar.gz
inkscape-f9464efc86f5a9f232d90963ea7c1ff5f982cb9c.zip
btool: Fix for C++11
(bzr r15041)
Diffstat (limited to 'buildtool.cpp')
-rw-r--r--buildtool.cpp3
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