summaryrefslogtreecommitdiff
path: root/core/ustring.h
diff options
context:
space:
mode:
authorIbrahn Sahir <ibrahn.sahir@gmail.com>2018-07-24 16:06:49 +0100
committerIbrahn Sahir <ibrahn.sahir@gmail.com>2018-07-24 16:08:45 +0100
commite0df1221bf50934063b8e881e2d2b48fb8a643c0 (patch)
tree363ea26caa446583e124f225d6ff55ddf9edfb5f /core/ustring.h
parenta2f9ce2569bf2e16b3b4c5d2376a2e1fb0def90e (diff)
removed redundant strlen calculation from String::substr
Diffstat (limited to 'core/ustring.h')
-rw-r--r--core/ustring.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/ustring.h b/core/ustring.h
index b57e9629d9..001d111d64 100644
--- a/core/ustring.h
+++ b/core/ustring.h
@@ -65,6 +65,7 @@ class String : public Vector<CharType> {
void copy_from(const char *p_cstr);
void copy_from(const CharType *p_cstr, int p_clip_to = -1);
void copy_from(const CharType &p_char);
+ void copy_from_unchecked(const CharType *p_char, int p_length);
bool _base_is_subsequence_of(const String &p_string, bool case_insensitive) const;
public: