summaryrefslogtreecommitdiffstats
path: root/Source/cmFLTKWrapUICommand.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2018-09-04 15:08:50 (GMT)
committerBrad King <brad.king@kitware.com>2018-09-05 19:15:55 (GMT)
commit4d89830d7117a6fb68346d4ebe5f2f3c6d3223a0 (patch)
treed7609df1293e9d4af24cb27e5d9f024844ed6144 /Source/cmFLTKWrapUICommand.cxx
parent612975c6652c83c29fcfcf56a7b5a0cfe0218c93 (diff)
downloadCMake-4d89830d7117a6fb68346d4ebe5f2f3c6d3223a0.zip
CMake-4d89830d7117a6fb68346d4ebe5f2f3c6d3223a0.tar.gz
CMake-4d89830d7117a6fb68346d4ebe5f2f3c6d3223a0.tar.bz2
cmMakefile: Make GetRequiredDefinition return std::string
In all cases the return value is converted to std::string anyway. Also remove unnecessary `c_str()` calls in arguments to `GetRequiredDefinition`.
Diffstat (limited to 'Source/cmFLTKWrapUICommand.cxx')
-rw-r--r--Source/cmFLTKWrapUICommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFLTKWrapUICommand.cxx b/Source/cmFLTKWrapUICommand.cxx
index 03d1ad1..effb446 100644
--- a/Source/cmFLTKWrapUICommand.cxx
+++ b/Source/cmFLTKWrapUICommand.cxx
@@ -23,7 +23,7 @@ bool cmFLTKWrapUICommand::InitialPass(std::vector<std::string> const& args,
// what is the current source dir
std::string cdir = this->Makefile->GetCurrentSourceDirectory();
- const char* fluid_exe =
+ std::string const& fluid_exe =
this->Makefile->GetRequiredDefinition("FLTK_FLUID_EXECUTABLE");
// get parameter for the command