From 1927e4bacb8e3183488c0e71a18b73aa62e5f53a Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Wed, 17 Sep 2014 15:07:55 +0200 Subject: [PATCH] Remove const char string comparison helper. It is now unused. --- Source/cmStandardIncludes.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h index 3731502f6..8baf7b303 100644 --- a/Source/cmStandardIncludes.h +++ b/Source/cmStandardIncludes.h @@ -462,12 +462,6 @@ struct cmStrCmp { return strcmp(input, m_test.c_str()) == 0; } - // For use with binary_search - bool operator()(const char *str1, const char *str2) const - { - return strcmp(str1, str2) < 0; - } - private: const std::string m_test; };