]> git.tdb.fi Git - builder.git/blobdiff - source/sourcepackage.cpp
Use mspio for all I/O operations
[builder.git] / source / sourcepackage.cpp
index 432575f400db29633003b115013d78e361adaaa0..3f38acf39c1eba37024d751ef840543195d2ee1d 100644 (file)
@@ -5,7 +5,7 @@ Copyright © 2007-2009  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
-#include <iostream>
+#include <msp/io/print.h>
 #include <msp/strings/lexicalcast.h>
 #include <msp/strings/utils.h>
 #include "binarypackage.h"
@@ -82,7 +82,7 @@ void SourcePackage::do_configure(const StringMap &opts, unsigned flag)
        if(flag && config.update(opts))
        {
                if(builder.get_verbose()>=2)
-                       cout<<"Configuration of "<<name<<" changed\n";
+                       IO::print("Configuration of %s changed\n", name);
                if(!builder.get_dry_run())
                        config.save();
        }