X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbuildgraph.cpp;h=070f934f6665edaa079885a1f8efa7b1f864e76b;hb=1ec533a7777be4dce9c8b6bbb1cbc32d38098ae4;hp=46c0c4855ae02544cac7e8fee47e471b969da914;hpb=3043044d8ef02ef77def454fdede87927f5aa1f8;p=builder.git diff --git a/source/buildgraph.cpp b/source/buildgraph.cpp index 46c0c48..070f934 100644 --- a/source/buildgraph.cpp +++ b/source/buildgraph.cpp @@ -33,7 +33,7 @@ Target *BuildGraph::get_target(const string &n) const void BuildGraph::add_target(Target *t) { - targets.insert(TargetMap::value_type(t->get_name(), t)); + targets.insert({ t->get_name(), t }); } void BuildGraph::add_primary_target(Target &t)