diff options
author | Andreas Kling <kling@serenityos.org> | 2020-12-18 14:10:10 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-12-18 19:22:26 +0100 |
commit | 8e79bde2b73d18f31e4dcc1b33c61cd5ec73c83d (patch) | |
tree | cfb7eeb32bc6305a6e14aa645e01de5dd3a11e23 /Kernel/KSyms.cpp | |
parent | d936d86332241221151cc765404f1b383ac0fd0e (diff) | |
download | serenity-8e79bde2b73d18f31e4dcc1b33c61cd5ec73c83d.zip |
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.
Diffstat (limited to 'Kernel/KSyms.cpp')
-rw-r--r-- | Kernel/KSyms.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/KSyms.cpp b/Kernel/KSyms.cpp index 9e084e0278..f49ce0cb44 100644 --- a/Kernel/KSyms.cpp +++ b/Kernel/KSyms.cpp @@ -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()); } } |