Skip to contentSkip to conversation

Remove the unused stringless class

PATCH New Magnus Fromreide 1 participant 1 message May 26, 2012

lore
Share & tools
lore

Magnus Fromreide

author
#0 lore raw

PATCH 1/2 Remove the unused stringless class

Signed-off-by Magnus Fromreide <magfr(a)lysator.liu.se>
---
 src/lib.cpp |    7 -------
 src/lib.h   |    6 ------
 2 files changed, 13 deletions(-)
src/lib.cpp +0 -7
index 0c2c1f1..33f835f 100644
@@ -158,13 +158,6 @@ void set_max_cpu(int cpu)
 }
 
 
-bool stringless::operator()(const char * const & lhs, const char * const & rhs) const
-{
-	if (strcmp(lhs, rhs) < 0)
-		return true;
-	return false;
-}
-
 void write_sysfs(const string &filename, const string &value)
 {
 	ofstream file;
src/lib.h +0 -6
index d555ebd..588c023 100644
@@ -49,12 +49,6 @@ extern char *hz_to_human(unsigned long hz, char *buffer, int digits = 2);
 
 extern const char *kernel_function(uint64_t address);
 
-class stringless
-{
-public:
-	bool operator()(const char * const & lhs, const char * const & rhs) const ;
-};
-
 
 
 
Signature · 1 line
1.7.10