diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-12-04 12:35:39 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-12-04 12:43:30 (GMT) |
commit | 259bf0918cfbfbbeaf9078001c0b1010066666a1 (patch) | |
tree | 4c97d89a9dc9b1d132a6c99dfc56aa5b0d4d193f /Source/cmGeneratorTarget.cxx | |
parent | 8cc3cdb6142093ecb9c5aa8c1866ed47a903ea79 (diff) | |
download | CMake-259bf0918cfbfbbeaf9078001c0b1010066666a1.zip CMake-259bf0918cfbfbbeaf9078001c0b1010066666a1.tar.gz CMake-259bf0918cfbfbbeaf9078001c0b1010066666a1.tar.bz2 |
Make the cmStrictTargetComparison operate on const cmTarget*.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 5a535c7..fdd4e6d 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -693,7 +693,8 @@ void cmGeneratorTarget::GenerateTargetManifest(const char* config) const } } -bool cmStrictTargetComparison::operator()(cmTarget *t1, cmTarget *t2) const +bool cmStrictTargetComparison::operator()(cmTarget const* t1, + cmTarget const* t2) const { int nameResult = strcmp(t1->GetName(), t2->GetName()); if (nameResult == 0) |