diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-03-17 14:32:19 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-03-17 14:32:19 (GMT) |
commit | c3a2f78b5a322bd14123cb301dc62dc3b58073b5 (patch) | |
tree | d9a6399c952ffb25895927c9db38612b654db631 /Source/cmGlobalUnixMakefileGenerator3.h | |
parent | 2e0611f981f17889cb701db2ffd9436c771bb7e1 (diff) | |
download | CMake-c3a2f78b5a322bd14123cb301dc62dc3b58073b5.zip CMake-c3a2f78b5a322bd14123cb301dc62dc3b58073b5.tar.gz CMake-c3a2f78b5a322bd14123cb301dc62dc3b58073b5.tar.bz2 |
Makefiles: Remove duplicate code.
The cmGlobalUnixMakefileGenerator3::ProgressMapCompare struct is
logically equivalent to cmStrictTargetComparison.
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.h')
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.h b/Source/cmGlobalUnixMakefileGenerator3.h index d003789..f44dd12 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.h +++ b/Source/cmGlobalUnixMakefileGenerator3.h @@ -185,10 +185,8 @@ protected: std::vector<unsigned long> Marks; void WriteProgressVariables(unsigned long total, unsigned long& current); }; - struct ProgressMapCompare { bool operator()(cmTarget const*, - cmTarget const*) const; }; typedef std::map<cmTarget const*, TargetProgress, - ProgressMapCompare> ProgressMapType; + cmStrictTargetComparison> ProgressMapType; ProgressMapType ProgressMap; size_t CountProgressMarksInTarget(cmTarget const* target, |