summaryrefslogtreecommitdiff
path: root/Source/Kernel/Library/String.class.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Kernel/Library/String.class.h')
-rw-r--r--Source/Kernel/Library/String.class.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Kernel/Library/String.class.h b/Source/Kernel/Library/String.class.h
index a10ba7a..db274c9 100644
--- a/Source/Kernel/Library/String.class.h
+++ b/Source/Kernel/Library/String.class.h
@@ -11,9 +11,8 @@ class String : public BasicString<WChar> {
static String number(s32int number);
String(const char* string, u8int encoding = UE_UTF8);
- String();
- String(const String &other);
- virtual ~String();
+ String() : BasicString<WChar>() {}
+ String(const String &other) : BasicString<WChar> (other) {}
void affect(const char* string, u8int encoding = UE_UTF8);
void operator= (const char* other) { affect(other); }