mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:04:57 +00:00
Kernel: Move KBufferBuilder to the fallible KBuffer API
KBufferBuilder::build() now returns an OwnPtr<KBuffer> and can fail. Clients of the API have been updated to handle that situation.
This commit is contained in:
parent
d936d86332
commit
8e79bde2b7
18 changed files with 121 additions and 100 deletions
|
@ -205,7 +205,7 @@ void load_kernel_symbol_table()
|
|||
auto description = result.value();
|
||||
auto buffer = description->read_entire_file();
|
||||
ASSERT(!buffer.is_error());
|
||||
load_kernel_sybols_from_data(buffer.value());
|
||||
load_kernel_sybols_from_data(*buffer.value());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue