aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/staticstring.cpp4
-rw-r--r--src/staticstring.h8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/staticstring.cpp b/src/staticstring.cpp
index 179ba6f..4d60b8d 100644
--- a/src/staticstring.cpp
+++ b/src/staticstring.cpp
@@ -239,7 +239,7 @@ bool StaticString::operator!=( StaticString &str )
239 for(; *a == *b; a++, b++ ) if( *a == '\0' && *b == '\0' ) return false; 239 for(; *a == *b; a++, b++ ) if( *a == '\0' && *b == '\0' ) return false;
240 return true; 240 return true;
241} 241}
242 242/*
243unsigned long int StaticString::getHashCode() 243unsigned long int StaticString::getHashCode()
244{ 244{
245 unsigned long int nPos = nLen; 245 unsigned long int nPos = nLen;
@@ -267,4 +267,4 @@ bool StaticString::compareForHash( Hashable &other )
267 267
268 return true; 268 return true;
269} 269}
270 270*/
diff --git a/src/staticstring.h b/src/staticstring.h
index c83f391..0d155c4 100644
--- a/src/staticstring.h
+++ b/src/staticstring.h
@@ -3,7 +3,7 @@
3 3
4#include <string> 4#include <string>
5#include "serializable.h" 5#include "serializable.h"
6#include "hashable.h" 6//#include "hashable.h"
7 7
8/** 8/**
9 * Simple string managing class. Allows for dynamically allocated string data 9 * Simple string managing class. Allows for dynamically allocated string data
@@ -12,7 +12,7 @@
12 * and making accessing meta-info like length fast and reliable as well. 12 * and making accessing meta-info like length fast and reliable as well.
13 *@author Mike Buland 13 *@author Mike Buland
14 */ 14 */
15class StaticString : public Serializable, public Hashable 15class StaticString : public Serializable/*, public Hashable*/
16{ 16{
17public: 17public:
18 StaticString(); 18 StaticString();
@@ -50,8 +50,8 @@ public:
50 50
51 virtual void serialize( class Serializer &ar ); 51 virtual void serialize( class Serializer &ar );
52 52
53 virtual unsigned long int getHashCode(); 53 //virtual unsigned long int getHashCode();
54 virtual bool compareForHash( Hashable &other ); 54 //virtual bool compareForHash( Hashable &other );
55 55
56private: 56private:
57 char *lpStr; 57 char *lpStr;