From f9464efc86f5a9f232d90963ea7c1ff5f982cb9c Mon Sep 17 00:00:00 2001 From: Alex Valavanis Date: Fri, 5 Aug 2016 15:24:45 +0100 Subject: btool: Fix for C++11 (bzr r15041) --- buildtool.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'buildtool.cpp') 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(tname, target)); + auto pair = std::make_pair(tname, target); + targets.insert(pair); } //######### none of the above else -- cgit v1.2.3