diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-10-22 13:10:08 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-10-22 13:10:08 +0200 |
commit | 702d308e67b369fbbfb863442df23a328b6055a3 (patch) | |
tree | 44fb8bc95162060a2819f21f078190a295667719 /AK/StringImpl.h | |
parent | c5e55f4737fcd0f65661dd113dc061626af9d388 (diff) | |
download | serenity-702d308e67b369fbbfb863442df23a328b6055a3.zip |
Oops, StringImpl's "the empty string" global was not always initialized.
These "oops forgot to initialize" bugs are getting annoying...
Diffstat (limited to 'AK/StringImpl.h')
-rw-r--r-- | AK/StringImpl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/AK/StringImpl.h b/AK/StringImpl.h index 2278438f6c..b52a252277 100644 --- a/AK/StringImpl.h +++ b/AK/StringImpl.h @@ -15,6 +15,7 @@ public: RetainPtr<StringImpl> toUppercase() const; static StringImpl& theEmptyStringImpl(); + static void initializeGlobals(); ~StringImpl(); |