diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-07 20:37:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:33 (GMT) |
commit | d76a6e08d06ef0fa6d52f67e88b0cfe4d96f24d1 (patch) | |
tree | 3327133f8e58322de32564710879a25ceafa4d9a /Source/cmGeneratedFileStream.h | |
parent | 38c7544578f4154dfaaa0a55b118b79b11ec6ae1 (diff) | |
download | CMake-d76a6e08d06ef0fa6d52f67e88b0cfe4d96f24d1.zip CMake-d76a6e08d06ef0fa6d52f67e88b0cfe4d96f24d1.tar.gz CMake-d76a6e08d06ef0fa6d52f67e88b0cfe4d96f24d1.tar.bz2 |
stringapi: Use strings for generated file stream names
Diffstat (limited to 'Source/cmGeneratedFileStream.h')
-rw-r--r-- | Source/cmGeneratedFileStream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratedFileStream.h b/Source/cmGeneratedFileStream.h index 99f3b47..7adee7b 100644 --- a/Source/cmGeneratedFileStream.h +++ b/Source/cmGeneratedFileStream.h @@ -140,7 +140,7 @@ public: * Set name of the file that will hold the actual output. This method allows * the output file to be changed during the use of cmGeneratedFileStream. */ - void SetName(const char* fname); + void SetName(const std::string& fname); private: cmGeneratedFileStream(cmGeneratedFileStream const&); // not implemented |