summaryrefslogtreecommitdiff
path: root/source/core/slang-string.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/slang-string.h')
-rw-r--r--source/core/slang-string.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/core/slang-string.h b/source/core/slang-string.h
index cb2731cee..357eb726e 100644
--- a/source/core/slang-string.h
+++ b/source/core/slang-string.h
@@ -443,6 +443,9 @@ namespace Slang
void append(StringSlice const& slice);
void append(UnownedStringSlice const& slice);
+ /// Append a character (to remove ambiguity with other integral types)
+ void appendChar(char chr);
+
String(int32_t val, int radix = 10)
{
append(val, radix);