diff options
author | Brad King <brad.king@kitware.com> | 2018-02-01 13:04:29 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-02-01 13:05:33 (GMT) |
commit | f8ca0ab3ac858730874176bf332808061fe179c6 (patch) | |
tree | 4aa58a0ff03b4713940fc41fcf81196017e35a5d /Source/cmAddCompileOptionsCommand.cxx | |
parent | 3ffc9b99bb20b56d5dc232fee8c988aa34474a2f (diff) | |
parent | 653b894683abe63233cb8679b34ea39d9017e317 (diff) | |
download | CMake-f8ca0ab3ac858730874176bf332808061fe179c6.zip CMake-f8ca0ab3ac858730874176bf332808061fe179c6.tar.gz CMake-f8ca0ab3ac858730874176bf332808061fe179c6.tar.bz2 |
Merge topic 'std-string-apis'
653b8946 Reduce raw string pointers usage.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1729
Diffstat (limited to 'Source/cmAddCompileOptionsCommand.cxx')
-rw-r--r-- | Source/cmAddCompileOptionsCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmAddCompileOptionsCommand.cxx b/Source/cmAddCompileOptionsCommand.cxx index c37fd9a..412fb38 100644 --- a/Source/cmAddCompileOptionsCommand.cxx +++ b/Source/cmAddCompileOptionsCommand.cxx @@ -14,7 +14,7 @@ bool cmAddCompileOptionsCommand::InitialPass( } for (std::string const& i : args) { - this->Makefile->AddCompileOption(i.c_str()); + this->Makefile->AddCompileOption(i); } return true; } |