summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-03-16 15:56:54 (GMT)
committerBrad King <brad.king@kitware.com>2018-03-16 16:06:04 (GMT)
commit0df559832bdc629df333b57c798d42e77716a94b (patch)
treef366843e9dd59e516b3e6bfb2a1761d594c5b945 /Source/cmMakefile.cxx
parentb3e668ea25d35a04adc41e17cfb4c8ab7a97a7d9 (diff)
downloadCMake-0df559832bdc629df333b57c798d42e77716a94b.zip
CMake-0df559832bdc629df333b57c798d42e77716a94b.tar.gz
CMake-0df559832bdc629df333b57c798d42e77716a94b.tar.bz2
cmPolicies: Pass policy version as std::string
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 9e53579..23883f7 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -4149,9 +4149,9 @@ void cmMakefile::PopSnapshot(bool reportError)
assert(this->StateSnapshot.IsValid());
}
-bool cmMakefile::SetPolicyVersion(const char* version)
+bool cmMakefile::SetPolicyVersion(std::string const& version_min)
{
- return cmPolicies::ApplyPolicyVersion(this, version);
+ return cmPolicies::ApplyPolicyVersion(this, version_min);
}
bool cmMakefile::HasCMP0054AlreadyBeenReported(