1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:07:45 +00:00

Kernel: Remove AK::String usage from Storage/StorageManagement.cpp

This commit is contained in:
Brian Gianforcaro 2021-10-02 15:11:01 -07:00 committed by Andreas Kling
parent 7f88d5058e
commit 836c22ea13
2 changed files with 10 additions and 7 deletions

View file

@ -24,7 +24,7 @@ class StorageManagement {
public:
StorageManagement();
static bool initialized();
void initialize(String boot_argument, bool force_pio);
void initialize(StringView boot_argument, bool force_pio);
static StorageManagement& the();
NonnullRefPtr<FileSystem> root_filesystem() const;
@ -48,7 +48,7 @@ private:
RefPtr<BlockDevice> boot_block_device() const;
String m_boot_argument;
StringView m_boot_argument;
WeakPtr<BlockDevice> m_boot_block_device;
NonnullRefPtrVector<StorageController> m_controllers;
IntrusiveList<&StorageDevice::m_list_node> m_storage_devices;