X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftool.cpp;h=da7054abf3fdb5959b880e5772e55cde08863d2b;hb=5e00719d0c63e306786ff36df61797cdbc86f3e9;hp=377dc7f4bc0813ae095ede177bbaf004512244de;hpb=bc6d4c540e7132c829dd558ca9d8acfbde7d71e1;p=builder.git diff --git a/source/tool.cpp b/source/tool.cpp index 377dc7f..da7054a 100644 --- a/source/tool.cpp +++ b/source/tool.cpp @@ -45,7 +45,7 @@ bool Tool::accepts_suffix(const string &suffix, bool aux) const Target *Tool::create_target(Target &source, const string &arg) { - list sources; + vector sources; sources.push_back(&source); return create_target(sources, arg); } @@ -62,7 +62,7 @@ void Tool::prepare() executable = builder.get_vfs().find_binary(command); if(!executable) { - builder.get_logger().log("problems", format("Can't find executable %s for %s", command, tag)); + builder.get_logger().log("problems", "Can't find executable %s for %s", command, tag); problems.push_back(format("Can't find executable %s", command)); } } @@ -92,7 +92,7 @@ Target *SubTool::create_source(const FS::Path &p) const return parent.create_source(p); } -Target *SubTool::create_target(const list &s, const string &a) +Target *SubTool::create_target(const vector &s, const string &a) { return parent.create_target(s, a); }