diff options
author | Andreas Kling <kling@serenityos.org> | 2020-08-22 16:34:14 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-22 16:34:14 +0200 |
commit | 68580d5a8d7adae1eebfa5a8c369d96a70d06bdb (patch) | |
tree | 83298fe2754fd1b2a2069d6d89efe5414b7d8b48 /Kernel/CommandLine.cpp | |
parent | 8a21491d863cd904aeed3b9bbf6d8bc8f537972c (diff) | |
download | serenity-68580d5a8d7adae1eebfa5a8c369d96a70d06bdb.zip |
Revert "AK: Get rid of make_singleton function"
This reverts commit 5a98e329d157a2db8379e0c97c6bdc1328027843.
Diffstat (limited to 'Kernel/CommandLine.cpp')
-rw-r--r-- | Kernel/CommandLine.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Kernel/CommandLine.cpp b/Kernel/CommandLine.cpp index 3155dd6bdc..8b50e7aeec 100644 --- a/Kernel/CommandLine.cpp +++ b/Kernel/CommandLine.cpp @@ -38,7 +38,6 @@ const CommandLine& kernel_command_line() void CommandLine::initialize(const String& string) { - ASSERT(!s_the); s_the = new CommandLine(string); } @@ -46,7 +45,7 @@ CommandLine::CommandLine(const String& string) : m_string(string) { s_the = this; -klog() << "CommandLine: " << string; + for (auto str : m_string.split(' ')) { if (str == "") { continue; |