summaryrefslogtreecommitdiff
path: root/AK/StringImpl.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-10-22 13:10:08 +0200
committerAndreas Kling <awesomekling@gmail.com>2018-10-22 13:10:08 +0200
commit702d308e67b369fbbfb863442df23a328b6055a3 (patch)
tree44fb8bc95162060a2819f21f078190a295667719 /AK/StringImpl.h
parentc5e55f4737fcd0f65661dd113dc061626af9d388 (diff)
downloadserenity-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.h1
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();