summaryrefslogtreecommitdiff
path: root/include/BString.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/BString.h')
-rw-r--r--include/BString.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/BString.h b/include/BString.h
index 4bd1436..df295f6 100644
--- a/include/BString.h
+++ b/include/BString.h
@@ -78,8 +78,8 @@ class String : public Base {
bool operator>=(const String &) const;
bool operator<(const String &) const;
bool operator>(const String &) const;
- char operator[](size_t i) const;
- char & operator[](size_t i);
+ const char & operator[](size_t i) const;
+ char & operator[](size_t i) throw (GeneralException);
operator ugly_string() const;
String & toupper();
String & tolower();
@@ -89,7 +89,6 @@ class String : public Base {
private:
String(int hs, char *);
- static char t[];
char * str;
size_t siz;
};