diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2020-11-10 08:28:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-10 08:28:08 +0100 |
| commit | 8e056ba2034caa9f69d242eb97eff54ce3760813 (patch) | |
| tree | 4fa6ebf28401601e03b0ce2b387f60c32b771fb5 /core/string/ustring.h | |
| parent | efc4d217d61f592a16ebab30731ff9f595dee2cf (diff) | |
| parent | 0f249f5c0aa2c3a89848f03f155b76e834e4c32a (diff) | |
Merge pull request #43417 from akien-mga/variant-default-constructors-docs
Variant: Sync docs with new constructors, fixes to #43403
Diffstat (limited to 'core/string/ustring.h')
| -rw-r--r-- | core/string/ustring.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/string/ustring.h b/core/string/ustring.h index 35475a2124..201b439b12 100644 --- a/core/string/ustring.h +++ b/core/string/ustring.h @@ -433,10 +433,10 @@ public: /** * The constructors must not depend on other overloads */ - /* String(char32_t p_char);*/ _FORCE_INLINE_ String() {} _FORCE_INLINE_ String(const String &p_str) { _cowdata._ref(p_str._cowdata); } + String &operator=(const String &p_str) { _cowdata._ref(p_str._cowdata); return *this; |