]> git.tdb.fi Git - builder.git/blobdiff - source/msvccompiler.cpp
Refactor logger to do message formatting internally
[builder.git] / source / msvccompiler.cpp
index df6bd468c2d4862657ca38b7f37dd2d7cc1ab843..dbbc64d41895baea735e41d2e7f8f5c19ec8dd59 100644 (file)
@@ -46,7 +46,7 @@ Target *MsvcCompiler::create_source(const FS::Path &path) const
        return new CSourceFile(builder, path);
 }
 
-Target *MsvcCompiler::create_target(const list<Target *> &sources, const string &)
+Target *MsvcCompiler::create_target(const vector<Target *> &sources, const string &)
 {
        if(sources.size()!=1)
                throw invalid_argument("MsvcCompiler::create_target");
@@ -87,7 +87,7 @@ void MsvcCompiler::do_prepare()
        for(const FS::Path &p: system_path)
        {
                append(path, ";", p.str());
-               builder.get_logger().log("tools", format("Got %s system path: %s", tag, p));
+               builder.get_logger().log("tools", "Got %s system path: %s", tag, p);
        }
 
        setenv("INCLUDE", path);