]> git.tdb.fi Git - builder.git/blobdiff - source/component.cpp
Use mspio for all I/O operations
[builder.git] / source / component.cpp
index 338b44f43c0e83c10ebd62133533d7bf2b642db0..6bef63651d9ec88f42fbe639010bc9a7935cc73b 100644 (file)
@@ -5,11 +5,11 @@ Copyright © 2006-2009  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
 
-#include <iostream>
 #include <msp/core/except.h>
 #include <msp/fs/dir.h>
 #include <msp/fs/stat.h>
 #include <msp/fs/utils.h>
+#include <msp/io/print.h>
 #include <msp/strings/lexicalcast.h>
 #include "builder.h"
 #include "component.h"
@@ -230,7 +230,7 @@ void Component::Loader::host(const string &n)
 
 void Component::Loader::install_headers(const string &p)
 {
-       cout<<get_source()<<": Note: install_headers is deprecated\n";
+       IO::print("%s: Note: install_headers is deprecated\n", get_source());
        if(comp.type==HEADERS)
        {
                comp.name=p;