summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemInformation.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-05-31 13:11:14 (GMT)
committerBrad King <brad.king@kitware.com>2017-05-31 13:11:14 (GMT)
commit5e9bd8a2ea759c4f7e412a8591ee55fe057313dc (patch)
tree3b041d7b7419af79a71471994f3d98cbc62f46cf /Source/kwsys/SystemInformation.cxx
parentde16ff3e58b0518c707ae877e80b6f81e26a4326 (diff)
parent50988f6d763d99dc7d016000157528fa0ab20086 (diff)
downloadCMake-5e9bd8a2ea759c4f7e412a8591ee55fe057313dc.zip
CMake-5e9bd8a2ea759c4f7e412a8591ee55fe057313dc.tar.gz
CMake-5e9bd8a2ea759c4f7e412a8591ee55fe057313dc.tar.bz2
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys: KWSys 2017-05-31 (bd0bbad7)
Diffstat (limited to 'Source/kwsys/SystemInformation.cxx')
-rw-r--r--Source/kwsys/SystemInformation.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx
index bfc895e..b7bd102 100644
--- a/Source/kwsys/SystemInformation.cxx
+++ b/Source/kwsys/SystemInformation.cxx
@@ -918,7 +918,8 @@ int LoadLines(const char* fileName, std::vector<std::string>& lines)
// ****************************************************************************
template <typename T>
-int NameValue(std::vector<std::string>& lines, std::string name, T& value)
+int NameValue(std::vector<std::string> const& lines, std::string const& name,
+ T& value)
{
size_t nLines = lines.size();
for (size_t i = 0; i < nLines; ++i) {