summaryrefslogtreecommitdiff
path: root/Source/cmSourceFile.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-03 17:00:21 -0500
committerBrad King <brad.king@kitware.com>2014-03-08 13:05:30 -0500
commit971eb4d56e3d3c9bc11acf6082e21d5388d808bb (patch)
treed595c3f099b5341a5854f146cdd3a9fcaf23c1a8 /Source/cmSourceFile.h
parent310ef08fed57b1c60ea8dc8ed98520e2cb0bff4e (diff)
downloadcmake-971eb4d56e3d3c9bc11acf6082e21d5388d808bb.tar.gz
stringapi: Use strings for TryFullPath
Diffstat (limited to 'Source/cmSourceFile.h')
-rw-r--r--Source/cmSourceFile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSourceFile.h b/Source/cmSourceFile.h
index 833a490a3e..b362c986ea 100644
--- a/Source/cmSourceFile.h
+++ b/Source/cmSourceFile.h
@@ -107,7 +107,7 @@ private:
bool FindFullPathFailed;
bool FindFullPath(std::string* error);
- bool TryFullPath(const char* tryPath, const char* ext);
+ bool TryFullPath(const std::string& path, const std::string& ext);
void CheckExtension();
void CheckLanguage(std::string const& ext);