summaryrefslogtreecommitdiff
path: root/Source/cmInstallTargetGenerator.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2020-01-20 13:00:00 -0500
committerBrad King <brad.king@kitware.com>2020-01-21 09:19:13 -0500
commit9db532f44dc014303e308e43b097175b8827508c (patch)
treee8dca2a118f40e4f9af1bbb70dfb984e428c3aad /Source/cmInstallTargetGenerator.cxx
parent941c09616bc214db77e3b1b7e5229517db08b45c (diff)
downloadcmake-9db532f44dc014303e308e43b097175b8827508c.tar.gz
cmInstall*Generator: std::string params
Several construction parameters converted to std::string Also made a few class members const
Diffstat (limited to 'Source/cmInstallTargetGenerator.cxx')
-rw-r--r--Source/cmInstallTargetGenerator.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx
index 69c9b7ed20..d2fc2ea996 100644
--- a/Source/cmInstallTargetGenerator.cxx
+++ b/Source/cmInstallTargetGenerator.cxx
@@ -25,15 +25,15 @@
#include "cmake.h"
cmInstallTargetGenerator::cmInstallTargetGenerator(
- std::string targetName, const char* dest, bool implib,
- const char* file_permissions, std::vector<std::string> const& configurations,
- const char* component, MessageLevel message, bool exclude_from_all,
+ std::string targetName, std::string const& dest, bool implib,
+ std::string file_permissions, std::vector<std::string> const& configurations,
+ std::string const& component, MessageLevel message, bool exclude_from_all,
bool optional, cmListFileBacktrace backtrace)
- : cmInstallGenerator(dest, configurations, component, message,
- exclude_from_all)
+ : cmInstallGenerator(dest.c_str(), configurations, component.c_str(),
+ message, exclude_from_all)
, TargetName(std::move(targetName))
, Target(nullptr)
- , FilePermissions(file_permissions)
+ , FilePermissions(std::move(file_permissions))
, ImportLibrary(implib)
, Optional(optional)
, Backtrace(std::move(backtrace))