diff options
Diffstat (limited to 'src/staticstring.h')
-rw-r--r-- | src/staticstring.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/staticstring.h b/src/staticstring.h index 88cae70..1c98b3c 100644 --- a/src/staticstring.h +++ b/src/staticstring.h | |||
@@ -2,6 +2,7 @@ | |||
2 | #define STATIC_STRING_H | 2 | #define STATIC_STRING_H |
3 | 3 | ||
4 | #include <string> | 4 | #include <string> |
5 | #include "serializable.h" | ||
5 | 6 | ||
6 | /** | 7 | /** |
7 | * Simple string managing class. Allows for dynamically allocated string data | 8 | * Simple string managing class. Allows for dynamically allocated string data |
@@ -10,7 +11,7 @@ | |||
10 | * and making accessing meta-info like length fast and reliable as well. | 11 | * and making accessing meta-info like length fast and reliable as well. |
11 | *@author Mike Buland | 12 | *@author Mike Buland |
12 | */ | 13 | */ |
13 | class StaticString | 14 | class StaticString : public Serializable |
14 | { | 15 | { |
15 | public: | 16 | public: |
16 | StaticString(); | 17 | StaticString(); |
@@ -40,6 +41,8 @@ public: | |||
40 | 41 | ||
41 | void clear(); | 42 | void clear(); |
42 | 43 | ||
44 | virtual void serialize( class Serializer &ar ); | ||
45 | |||
43 | private: | 46 | private: |
44 | char *lpStr; | 47 | char *lpStr; |
45 | int nLen; | 48 | int nLen; |