summaryrefslogtreecommitdiff
path: root/src/staticstring.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-11-21 20:26:23 +0000
committerMike Buland <eichlan@xagasoft.com>2006-11-21 20:26:23 +0000
commit8fbf5fda24392d2a2ee19d6f40699a5de29da662 (patch)
treeac79c447bc4897d8cc350068504f184fdb8e4cfa /src/staticstring.h
parent2bb05378f31311c353d43688fa753822ab9a6461 (diff)
downloadlibbu++-8fbf5fda24392d2a2ee19d6f40699a5de29da662.tar.gz
libbu++-8fbf5fda24392d2a2ee19d6f40699a5de29da662.tar.bz2
libbu++-8fbf5fda24392d2a2ee19d6f40699a5de29da662.tar.xz
libbu++-8fbf5fda24392d2a2ee19d6f40699a5de29da662.zip
Everything in libbu++ now passes -Wall, this should have been done a long time
ago.
Diffstat (limited to 'src/staticstring.h')
-rw-r--r--src/staticstring.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/staticstring.h b/src/staticstring.h
index 1ff3f63..c83f391 100644
--- a/src/staticstring.h
+++ b/src/staticstring.h
@@ -25,19 +25,19 @@ public:
25 25
26 char *getString(); 26 char *getString();
27 int getLength(); 27 int getLength();
28 int setLength( int nNewLength ); 28 void setLength( int nNewLength );
29 29
30 void setString( const char *lpNewStr, int nNewLen=-1 ); 30 void setString( const char *lpNewStr, int nNewLen=-1 );
31 void setString( StaticString &sNewStr, int nNewLen=-1 ); 31 void setString( StaticString &sNewStr, int nNewLen=-1 );
32 32
33 char getAt( int nIndex ); 33 char getAt( unsigned int nIndex );
34 void setAt( int nIndex, char cVal ); 34 void setAt( unsigned int nIndex, char cVal );
35 35
36 class StaticString &operator=( class StaticString &lpOtherStr ); 36 class StaticString &operator=( class StaticString &lpOtherStr );
37 class StaticString &operator=( std::string &lpOtherStr ); 37 class StaticString &operator=( std::string &lpOtherStr );
38 class StaticString &operator=( const char *lpNewStr ); 38 class StaticString &operator=( const char *lpNewStr );
39 operator const char *(); 39 operator const char *();
40 char &operator[]( int nIndex ); 40 char &operator[]( unsigned int nIndex );
41 operator int(); 41 operator int();
42 char *operator+( int nAmnt ); 42 char *operator+( int nAmnt );
43 char *operator-( int nAmnt ); 43 char *operator-( int nAmnt );