mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 21:25:07 +00:00
Kernel: Add implied auto-specifiers in FileSystem
As per clang-tidy.
This commit is contained in:
parent
fe2cf774c3
commit
4cec16a713
7 changed files with 20 additions and 20 deletions
|
@ -491,7 +491,7 @@ bool Plan9FS::is_complete(const ReceiveCompletion& completion)
|
|||
|
||||
ErrorOr<void> Plan9FS::post_message(Message& message, RefPtr<ReceiveCompletion> completion)
|
||||
{
|
||||
auto& buffer = message.build();
|
||||
auto const& buffer = message.build();
|
||||
const u8* data = buffer.data();
|
||||
size_t size = buffer.size();
|
||||
auto& description = file_description();
|
||||
|
@ -562,7 +562,7 @@ ErrorOr<void> Plan9FS::read_and_dispatch_one_message()
|
|||
|
||||
auto optional_completion = m_completions.get(header.tag);
|
||||
if (optional_completion.has_value()) {
|
||||
auto completion = optional_completion.value();
|
||||
auto* completion = optional_completion.value();
|
||||
SpinlockLocker lock(completion->lock);
|
||||
completion->result = {};
|
||||
completion->message = adopt_own_if_nonnull(new (nothrow) Message { move(buffer) });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue