diff options
| author | robojumper <robojumper@gmail.com> | 2024-05-29 21:45:20 +0200 |
|---|---|---|
| committer | robojumper <robojumper@gmail.com> | 2024-06-02 00:06:17 +0200 |
| commit | 892a040a97251463297db6f2b8eeaa95f69f4eea (patch) | |
| tree | 20171290d76a57bda91e7e047813e46615c34c77 /include/sized_string.h | |
| parent | e6429777e5090a5cc07c0fa1fe1fe91d42a772af (diff) | |
oarc_manager
Diffstat (limited to 'include/sized_string.h')
| -rw-r--r-- | include/sized_string.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sized_string.h b/include/sized_string.h index 1d619dda..c1abcd5f 100644 --- a/include/sized_string.h +++ b/include/sized_string.h @@ -17,6 +17,10 @@ struct SizedString { mChars[0] = '\0'; } + SizedString(const char *src) { + operator=(src); + } + char mChars[Size]; char *operator&() { |
