]> git.tdb.fi Git - builder.git/blobdiff - source/toolchain.cpp
Remove deprecated features
[builder.git] / source / toolchain.cpp
index 6c7dae1e5c43dd4c5391fd822ff1d4aa50572978..9d234038279d07d4ce41232c63e7ab5acec63f40 100644 (file)
@@ -16,15 +16,15 @@ void Toolchain::add_tool(Tool *tool)
        insert_unique(tools, tool->get_tag(), tool);
 }
 
-const Tool &Toolchain::get_tool(const string &tag) const
+Tool &Toolchain::get_tool(const string &tag) const
 {
        return *get_item(tools, tag);
 }
 
-const Tool *Toolchain::get_tool_for_suffix(const string &suffix) const
+Tool *Toolchain::get_tool_for_suffix(const string &suffix, bool aux) const
 {
        for(ToolMap::const_iterator i=tools.begin(); i!=tools.end(); ++i)
-               if(i->second->accepts_suffix(suffix))
+               if(i->second->accepts_suffix(suffix, aux))
                        return i->second;
 
        return 0;