mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +00:00
Revert "AK: Get rid of make_singleton function"
This reverts commit 5a98e329d1
.
This commit is contained in:
parent
8a21491d86
commit
68580d5a8d
31 changed files with 46 additions and 42 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue