diff options
Diffstat (limited to 'source/core')
| -rw-r--r-- | source/core/slang-string.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/core/slang-string.h b/source/core/slang-string.h index 23ab54c23..3f2b85d28 100644 --- a/source/core/slang-string.h +++ b/source/core/slang-string.h @@ -134,6 +134,15 @@ namespace Slang struct UnownedStringSlice { public: + UnownedStringSlice() + : beginData(0) + , endData(0) + {} + + UnownedStringSlice(char const* b, char const* e) + : beginData(b) + , endData(e) + {} char const* begin() const { |
