summaryrefslogtreecommitdiffstats
path: root/SystemInformation.cxx
diff options
context:
space:
mode:
authorKWSys Upstream <kwrobot@kitware.com>2019-02-12 13:34:34 (GMT)
committerBrad King <brad.king@kitware.com>2019-02-12 13:35:11 (GMT)
commitf3999a21c85e6caf19feef7c90afce3969d9102a (patch)
treedaee4659850a9609bfc14f05fb90f718315941fb /SystemInformation.cxx
parent8372c054729984a76e3e619b4c28865006d905d0 (diff)
downloadCMake-f3999a21c85e6caf19feef7c90afce3969d9102a.zip
CMake-f3999a21c85e6caf19feef7c90afce3969d9102a.tar.gz
CMake-f3999a21c85e6caf19feef7c90afce3969d9102a.tar.bz2
KWSys 2019-02-12 (44676809)
Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 4467680959f82b755462a8530ef5d0dbd928d2d4 (master). Upstream Shortlog ----------------- Albert Astals Cid (1): 7d50c26d Delete some default constructors and assignment operators Artur Ryt (1): 01089e4c Prefer back/data over dereferencing rbegin/begin iterator
Diffstat (limited to 'SystemInformation.cxx')
-rw-r--r--SystemInformation.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/SystemInformation.cxx b/SystemInformation.cxx
index f323efc..4354753 100644
--- a/SystemInformation.cxx
+++ b/SystemInformation.cxx
@@ -4620,7 +4620,7 @@ std::string SystemInformationImplementation::RunProcess(
// Run the application
kwsysProcess* gp = kwsysProcess_New();
- kwsysProcess_SetCommand(gp, &*args.begin());
+ kwsysProcess_SetCommand(gp, args.data());
kwsysProcess_SetOption(gp, kwsysProcess_Option_HideWindow, 1);
kwsysProcess_Execute(gp);