Website Summary Files Commits Branches @commit @diff @stats
path: root / src / String / String.h
diff options
context:
space:
mode:
1 files changed, 3 insertions, 1 deletions
-rw-r--r--src/String/String.h4
diff --git a/src/String/String.h b/src/String/String.h
index 4accaef..acf3650 100644
--- a/src/String/String.h
+++ b/src/String/String.h
@@ -2,7 +2,7 @@
#define HEADER_STRING
class String {
- char* elems;
+ char* str;
unsigned count;
unsigned length;
@@ -11,6 +11,8 @@ class String {
void moveFrom(String&& other);
public:
+ String(const char* str);
+
String();
String(const String& other);
String& operator=(const String& other);