summaryrefslogtreecommitdiffstats
path: root/Source/CPack/IFW
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-09-17 09:56:48 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2021-09-17 09:58:46 (GMT)
commit7e154ebd59724d43bf29a8e1c648d6cf7f0e61e4 (patch)
tree1af10b5267eb0f9821313bb3eb47900b2d205fe8 /Source/CPack/IFW
parent241048d6ceb5dd4a16950c29286aebbcc46e565c (diff)
downloadCMake-7e154ebd59724d43bf29a8e1c648d6cf7f0e61e4.zip
CMake-7e154ebd59724d43bf29a8e1c648d6cf7f0e61e4.tar.gz
CMake-7e154ebd59724d43bf29a8e1c648d6cf7f0e61e4.tar.bz2
cmSystemTools::VersionCompare: use std::string for arguments
Diffstat (limited to 'Source/CPack/IFW')
-rw-r--r--Source/CPack/IFW/cmCPackIFWCommon.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/CPack/IFW/cmCPackIFWCommon.cxx b/Source/CPack/IFW/cmCPackIFWCommon.cxx
index 177a959..c7ab994 100644
--- a/Source/CPack/IFW/cmCPackIFWCommon.cxx
+++ b/Source/CPack/IFW/cmCPackIFWCommon.cxx
@@ -51,7 +51,7 @@ bool cmCPackIFWCommon::IsVersionLess(const char* version) const
}
return cmSystemTools::VersionCompare(
- cmSystemTools::OP_LESS, this->Generator->FrameworkVersion.data(), version);
+ cmSystemTools::OP_LESS, this->Generator->FrameworkVersion, version);
}
bool cmCPackIFWCommon::IsVersionGreater(const char* version) const
@@ -61,8 +61,7 @@ bool cmCPackIFWCommon::IsVersionGreater(const char* version) const
}
return cmSystemTools::VersionCompare(
- cmSystemTools::OP_GREATER, this->Generator->FrameworkVersion.data(),
- version);
+ cmSystemTools::OP_GREATER, this->Generator->FrameworkVersion, version);
}
bool cmCPackIFWCommon::IsVersionEqual(const char* version) const
@@ -72,8 +71,7 @@ bool cmCPackIFWCommon::IsVersionEqual(const char* version) const
}
return cmSystemTools::VersionCompare(
- cmSystemTools::OP_EQUAL, this->Generator->FrameworkVersion.data(),
- version);
+ cmSystemTools::OP_EQUAL, this->Generator->FrameworkVersion, version);
}
void cmCPackIFWCommon::ExpandListArgument(