From 54c441564ab1052d4f778c1d43f3bd468917e3d1 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 21 Nov 2006 21:50:06 +0000 Subject: The static string works again...sigh... --- src/staticstring.cpp | 4 ++-- src/staticstring.h | 8 ++++---- 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 ) for(; *a == *b; a++, b++ ) if( *a == '\0' && *b == '\0' ) return false; return true; } - +/* unsigned long int StaticString::getHashCode() { unsigned long int nPos = nLen; @@ -267,4 +267,4 @@ bool StaticString::compareForHash( Hashable &other ) return true; } - +*/ 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 @@ #include #include "serializable.h" -#include "hashable.h" +//#include "hashable.h" /** * Simple string managing class. Allows for dynamically allocated string data @@ -12,7 +12,7 @@ * and making accessing meta-info like length fast and reliable as well. *@author Mike Buland */ -class StaticString : public Serializable, public Hashable +class StaticString : public Serializable/*, public Hashable*/ { public: StaticString(); @@ -50,8 +50,8 @@ public: virtual void serialize( class Serializer &ar ); - virtual unsigned long int getHashCode(); - virtual bool compareForHash( Hashable &other ); + //virtual unsigned long int getHashCode(); + //virtual bool compareForHash( Hashable &other ); private: char *lpStr; -- cgit v1.2.3