]> git.tdb.fi Git - builder.git/blobdiff - source/sourcefile.cpp
Use mspio for all I/O operations
[builder.git] / source / sourcefile.cpp
index a5cacce44e92b2df956c1f593bcab082aee8fba5..0fc6d696c2394776a10b7692b381f1dabcc9c2ec 100644 (file)
@@ -5,9 +5,9 @@ Copyright © 2006-2009  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
-#include <iostream>
 #include <msp/fs/utils.h>
 #include <msp/io/except.h>
+#include <msp/io/print.h>
 #include <msp/strings/regex.h>
 #include "builder.h"
 #include "component.h"
@@ -49,7 +49,7 @@ void SourceFile::find_depends()
                        IO::BufferedFile in(name);
 
                        if(builder.get_verbose()>=4)
-                               cout<<"Reading includes from "<<name<<'\n';
+                               IO::print("Reading includes from %s\n", name);
 
                        Regex r_include("^[ \t]*#include[ \t]+([\"<].*)[\">]");