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/cmDependsC.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/cmDependsC.cxx')
-rw-r--r-- | Source/cmDependsC.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmDependsC.cxx b/Source/cmDependsC.cxx index 5be527c..f81bf06 100644 --- a/Source/cmDependsC.cxx +++ b/Source/cmDependsC.cxx @@ -343,16 +343,16 @@ void cmDependsC::WriteCacheFile() const this->FileCache.begin(); fileIt != this->FileCache.end(); ++fileIt) { if (fileIt->second->Used) { - cacheOut << fileIt->first.c_str() << std::endl; + cacheOut << fileIt->first << std::endl; for (std::vector<UnscannedEntry>::const_iterator incIt = fileIt->second->UnscannedEntries.begin(); incIt != fileIt->second->UnscannedEntries.end(); ++incIt) { - cacheOut << incIt->FileName.c_str() << std::endl; + cacheOut << incIt->FileName << std::endl; if (incIt->QuotedLocation.empty()) { cacheOut << "-" << std::endl; } else { - cacheOut << incIt->QuotedLocation.c_str() << std::endl; + cacheOut << incIt->QuotedLocation << std::endl; } } cacheOut << std::endl; |