summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFileLocation.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-06 19:05:57 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:29 (GMT)
commit310ef08fed57b1c60ea8dc8ed98520e2cb0bff4e (patch)
tree89b17e537dd73551de0c5c225b18a6bfbee2ed8b /Source/cmSourceFileLocation.h
parent24e8b929eef74098d4ddf4581619322e0f4b5108 (diff)
downloadCMake-310ef08fed57b1c60ea8dc8ed98520e2cb0bff4e.zip
CMake-310ef08fed57b1c60ea8dc8ed98520e2cb0bff4e.tar.gz
CMake-310ef08fed57b1c60ea8dc8ed98520e2cb0bff4e.tar.bz2
stringapi: Use strings for source names
Diffstat (limited to 'Source/cmSourceFileLocation.h')
-rw-r--r--Source/cmSourceFileLocation.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmSourceFileLocation.h b/Source/cmSourceFileLocation.h
index c03eee7..64b8c1f 100644
--- a/Source/cmSourceFileLocation.h
+++ b/Source/cmSourceFileLocation.h
@@ -33,7 +33,7 @@ public:
* Construct for a source file created in a given cmMakefile
* instance with an initial name.
*/
- cmSourceFileLocation(cmMakefile const* mf, const char* name);
+ cmSourceFileLocation(cmMakefile const* mf, const std::string& name);
/**
* Return whether the givne source file location could refers to the
@@ -93,9 +93,9 @@ private:
// Update the location with additional knowledge.
void Update(cmSourceFileLocation const& loc);
- void Update(const char* name);
- void UpdateExtension(const char* name);
- void UpdateDirectory(const char* name);
+ void Update(const std::string& name);
+ void UpdateExtension(const std::string& name);
+ void UpdateDirectory(const std::string& name);
};
#endif