diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-06 21:53:32 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-06 21:53:32 (GMT) |
commit | fa277b29e41a8de43913f0a63b273bb3dbc759e8 (patch) | |
tree | f3b7bf879516bb09d46fad80ddd7e22fafa1a77f /Source/cmGraphVizWriter.cxx | |
parent | ba5fb16519d095051ea90e642cbf41a28be6a03d (diff) | |
download | CMake-fa277b29e41a8de43913f0a63b273bb3dbc759e8.zip CMake-fa277b29e41a8de43913f0a63b273bb3dbc759e8.tar.gz CMake-fa277b29e41a8de43913f0a63b273bb3dbc759e8.tar.bz2 |
Remove c_str() calls from stream arguments.
Mostly automated:
git grep -l '.c_str() <<' | xargs sed -i 's|\.c_str() <<| <<|g'
Diffstat (limited to 'Source/cmGraphVizWriter.cxx')
-rw-r--r-- | Source/cmGraphVizWriter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGraphVizWriter.cxx b/Source/cmGraphVizWriter.cxx index 6b3a870..3963cf8 100644 --- a/Source/cmGraphVizWriter.cxx +++ b/Source/cmGraphVizWriter.cxx @@ -427,7 +427,7 @@ int cmGraphVizWriter::CollectAllTargets() // Skip ignored targets continue; } - // std::cout << "Found target: " << tit->first.c_str() << std::endl; + // std::cout << "Found target: " << tit->first << std::endl; std::ostringstream ostr; ostr << this->GraphNodePrefix << cnt++; this->TargetNamesNodes[realTargetName] = ostr.str(); @@ -469,7 +469,7 @@ int cmGraphVizWriter::CollectAllExternalLibs(int cnt) ostr << this->GraphNodePrefix << cnt++; this->TargetNamesNodes[libName] = ostr.str(); this->TargetPtrs[libName] = NULL; - // str << " \"" << ostr.c_str() << "\" [ label=\"" << libName + // str << " \"" << ostr << "\" [ label=\"" << libName // << "\" shape=\"ellipse\"];" << std::endl; } } |