summaryrefslogtreecommitdiff
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-03-16 11:56:54 -0400
committerBrad King <brad.king@kitware.com>2018-03-16 12:06:04 -0400
commit0df559832bdc629df333b57c798d42e77716a94b (patch)
treef366843e9dd59e516b3e6bfb2a1761d594c5b945 /Source/cmMakefile.cxx
parentb3e668ea25d35a04adc41e17cfb4c8ab7a97a7d9 (diff)
downloadcmake-0df559832bdc629df333b57c798d42e77716a94b.tar.gz
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 9e53579d84..23883f7175 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(