summaryrefslogtreecommitdiffstats
path: root/source/compiler-core/slang-slice-allocator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler-core/slang-slice-allocator.cpp')
-rw-r--r--source/compiler-core/slang-slice-allocator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/compiler-core/slang-slice-allocator.cpp b/source/compiler-core/slang-slice-allocator.cpp
index 738bdf303..49fd6a571 100644
--- a/source/compiler-core/slang-slice-allocator.cpp
+++ b/source/compiler-core/slang-slice-allocator.cpp
@@ -75,7 +75,7 @@ namespace Slang {
const auto size = blob->getBufferSize();
auto chars = (const char*)blob->getBufferPointer();
- storage.Clear();
+ storage.clear();
storage.append(UnownedStringSlice(chars, size));
return TerminatedCharSlice(storage.getBuffer(), Count(size));