diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-01-01 13:00:00 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-01-02 12:56:34 (GMT) |
commit | 232d5bc3339b81170bba940ebad9513a19ceaffb (patch) | |
tree | 3fe61328d20eb97d1bc80d674a5602385abe7848 /Source/cmSetCommand.cxx | |
parent | 47a907413bb8aa2394a3003c90775b402b53d35a (diff) | |
download | CMake-232d5bc3339b81170bba940ebad9513a19ceaffb.zip CMake-232d5bc3339b81170bba940ebad9513a19ceaffb.tar.gz CMake-232d5bc3339b81170bba940ebad9513a19ceaffb.tar.bz2 |
cmState: more members will use std::string
Diffstat (limited to 'Source/cmSetCommand.cxx')
-rw-r--r-- | Source/cmSetCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSetCommand.cxx b/Source/cmSetCommand.cxx index 8c3a4cb..5e2a146 100644 --- a/Source/cmSetCommand.cxx +++ b/Source/cmSetCommand.cxx @@ -121,7 +121,7 @@ bool cmSetCommand(std::vector<std::string> const& args, if (cache) { std::string::size_type cacheStart = args.size() - 3 - (force ? 1 : 0); - if (!cmState::StringToCacheEntryType(args[cacheStart + 1].c_str(), type)) { + if (!cmState::StringToCacheEntryType(args[cacheStart + 1], type)) { std::string m = "implicitly converting '" + args[cacheStart + 1] + "' to 'STRING' type."; status.GetMakefile().IssueMessage(MessageType::AUTHOR_WARNING, m); |