forked from Bananymous/banan-os
Kernel: Make OpenFileDescritorSet::open take rvalue
This gets rid of some implicit allocations from copy constructors
This commit is contained in:
@@ -22,7 +22,7 @@ namespace Kernel
|
||||
|
||||
BAN::ErrorOr<void> clone_from(const OpenFileDescriptorSet&);
|
||||
|
||||
BAN::ErrorOr<int> open(VirtualFileSystem::File, int flags);
|
||||
BAN::ErrorOr<int> open(VirtualFileSystem::File&&, int flags);
|
||||
BAN::ErrorOr<int> open(BAN::StringView absolute_path, int flags);
|
||||
|
||||
BAN::ErrorOr<int> socket(int domain, int type, int protocol);
|
||||
|
||||
Reference in New Issue
Block a user