summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2018-10-26 00:32:01 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2018-10-26 10:54:32 (GMT)
commitb2c85cb698a922c0e87eb9f4a266be83625e97b7 (patch)
tree3bf7f22fe48979e92b106c6af45d12d44612fa65 /Source/cmLocalGenerator.h
parente07f147377b73c2d88a6921988c197c3e6a0150e (diff)
downloadCMake-b2c85cb698a922c0e87eb9f4a266be83625e97b7.zip
CMake-b2c85cb698a922c0e87eb9f4a266be83625e97b7.tar.gz
CMake-b2c85cb698a922c0e87eb9f4a266be83625e97b7.tar.bz2
cmLocalGenerator::AppendDefines: Remove const char* overloads
Accept const std::string& arguments only
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index 95a8a6a..3dd6929 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -169,19 +169,9 @@ public:
* command line.
*/
void AppendDefines(std::set<std::string>& defines,
- const char* defines_list) const;
- void AppendDefines(std::set<std::string>& defines,
- std::string const& defines_list) const
- {
- this->AppendDefines(defines, defines_list.c_str());
- }
+ std::string const& defines_list) const;
void AppendDefines(std::set<BT<std::string>>& defines,
- const char* defines_list) const;
- void AppendDefines(std::set<BT<std::string>>& defines,
- std::string const& defines_list) const
- {
- this->AppendDefines(defines, defines_list.c_str());
- }
+ std::string const& defines_list) const;
void AppendDefines(std::set<BT<std::string>>& defines,
const std::vector<BT<std::string>>& defines_vec) const;