summaryrefslogtreecommitdiff
path: root/core/string_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/string_buffer.h')
-rw-r--r--core/string_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/string_buffer.h b/core/string_buffer.h
index 7e9b151bea..5d3be0ecf1 100644
--- a/core/string_buffer.h
+++ b/core/string_buffer.h
@@ -42,7 +42,7 @@ class StringBuffer {
int string_length;
_FORCE_INLINE_ CharType *current_buffer_ptr() {
- return static_cast<Vector<CharType> &>(buffer).empty() ? short_buffer : buffer.ptrw();
+ return static_cast<String &>(buffer).empty() ? short_buffer : buffer.ptrw();
}
public: