summaryrefslogtreecommitdiffstats
path: root/Source/CPack/OSXScriptLauncher.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-06-07 12:34:04 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-06-07 12:34:04 (GMT)
commit633d99dc6255901c2fbc9f7c80a1d24f357a4024 (patch)
treeec0a1ec94525c7471caa1966a55e1946511b90f4 /Source/CPack/OSXScriptLauncher.cxx
parent14de21d7d21db8aa177327f61e51c7c50a7e1ffa (diff)
parentfa277b29e41a8de43913f0a63b273bb3dbc759e8 (diff)
downloadCMake-633d99dc6255901c2fbc9f7c80a1d24f357a4024.zip
CMake-633d99dc6255901c2fbc9f7c80a1d24f357a4024.tar.gz
CMake-633d99dc6255901c2fbc9f7c80a1d24f357a4024.tar.bz2
Merge topic 'remove-c_str'
fa277b29 Remove c_str() calls from stream arguments. ba5fb165 call static cmOutputConverter::GetFortranFormat without object
Diffstat (limited to 'Source/CPack/OSXScriptLauncher.cxx')
-rw-r--r--Source/CPack/OSXScriptLauncher.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/OSXScriptLauncher.cxx b/Source/CPack/OSXScriptLauncher.cxx
index 19204a2..a233e76 100644
--- a/Source/CPack/OSXScriptLauncher.cxx
+++ b/Source/CPack/OSXScriptLauncher.cxx
@@ -72,7 +72,7 @@ int main(int argc, char* argv[])
std::string scriptDirectory =
cmsys::SystemTools::GetFilenamePath(fullScriptPath);
- ofs << fullScriptPath.c_str() << std::endl;
+ ofs << fullScriptPath << std::endl;
std::vector<const char*> args;
args.push_back(fullScriptPath.c_str());
int cc;