summaryrefslogtreecommitdiff
path: root/Source/cmSourceFile.h
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2020-01-25 10:37:00 -0500
committerVitaly Stakhovsky <vvs31415@gitlab.org>2020-01-25 10:37:00 -0500
commit1398517f315b2b0420972df1dc1e61294ea5f749 (patch)
tree91d5278f549d2f49a441e127215c8ca0896586b6 /Source/cmSourceFile.h
parent33e7bd66c09ee51edbbccfc1014813e30d80ec5f (diff)
downloadcmake-1398517f315b2b0420972df1dc1e61294ea5f749.tar.gz
AppendProperty: convert value param to std::string
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 19a0d29136..e22829f186 100644
--- a/Source/cmSourceFile.h
+++ b/Source/cmSourceFile.h
@@ -42,7 +42,7 @@ public:
//! Set/Get a property of this source file
void SetProperty(const std::string& prop, const char* value);
- void AppendProperty(const std::string& prop, const char* value,
+ void AppendProperty(const std::string& prop, const std::string& value,
bool asString = false);
//! Might return a nullptr if the property is not set or invalid
const char* GetProperty(const std::string& prop) const;