aboutsummaryrefslogtreecommitdiff
path: root/src/staticstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/staticstring.h')
-rw-r--r--src/staticstring.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/staticstring.h b/src/staticstring.h
index 61501bf..1ff3f63 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();
@@ -51,6 +51,7 @@ public:
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 55
55private: 56private:
56 char *lpStr; 57 char *lpStr;