summaryrefslogtreecommitdiffstats
path: root/Source/cmGraphVizWriter.cxx
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2010-11-14 18:33:12 (GMT)
committerAlex Neundorf <neundorf@kde.org>2010-11-14 18:33:12 (GMT)
commit2a5790a080d86c63daf3d2c17d533c919cbef582 (patch)
treec4f0138c088f3c4291a10ef83ed72b9f1de69aed /Source/cmGraphVizWriter.cxx
parent7ba2d365858d259572b22ab35ea6c709ba1514ea (diff)
downloadCMake-2a5790a080d86c63daf3d2c17d533c919cbef582.zip
CMake-2a5790a080d86c63daf3d2c17d533c919cbef582.tar.gz
CMake-2a5790a080d86c63daf3d2c17d533c919cbef582.tar.bz2
Use std::cout instead of fprintf
Alex
Diffstat (limited to 'Source/cmGraphVizWriter.cxx')
-rw-r--r--Source/cmGraphVizWriter.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmGraphVizWriter.cxx b/Source/cmGraphVizWriter.cxx
index b62badf..94918a5 100644
--- a/Source/cmGraphVizWriter.cxx
+++ b/Source/cmGraphVizWriter.cxx
@@ -164,7 +164,7 @@ void cmGraphVizWriter::WritePerTargetFiles(const char* fileName)
return;
}
- fprintf(stderr, "Writing %s...\n", currentFilename.c_str());
+ std::cout << "Writing " << currentFilename << "..." << std::endl;
this->WriteHeader(str);
this->WriteConnections(ptrIt->first.c_str(),
@@ -184,7 +184,8 @@ void cmGraphVizWriter::WriteGlobalFile(const char* fileName)
}
this->WriteHeader(str);
- fprintf(stderr, "Writing %s...\n", fileName);
+ std::cout << "Writing " << fileName << "..." << std::endl;
+
std::set<std::string> insertedConnections;
std::set<std::string> insertedNodes;