mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
2123fdd678
These functions would have caused a `-Woverloaded-virtual` warning with GCC 13, as they shadow `File::{attach,detach}(OpenFileDescription&)`. Both of these functions had a single call site. This commit inlines `attach` into its only caller, `FIFO::open_direction`. Instead of explicitly checking `is_fifo()` in `~OpenFileDescription` before running the `detach(Direction)` overload, let's just override the regular `detach(OpenFileDescription&)` for `FIFO` to perform this action instead. |
||
---|---|---|
.. | ||
DevPtsFS | ||
Ext2FS | ||
FATFS | ||
ISO9660FS | ||
Plan9FS | ||
ProcFS | ||
RAMFS | ||
SysFS | ||
AnonymousFile.cpp | ||
AnonymousFile.h | ||
BlockBasedFileSystem.cpp | ||
BlockBasedFileSystem.h | ||
Custody.cpp | ||
Custody.h | ||
DeviceFileTypes.h | ||
FIFO.cpp | ||
FIFO.h | ||
File.cpp | ||
File.h | ||
FileBackedFileSystem.cpp | ||
FileBackedFileSystem.h | ||
FileSystem.cpp | ||
FileSystem.h | ||
Inode.cpp | ||
Inode.h | ||
InodeFile.cpp | ||
InodeFile.h | ||
InodeIdentifier.h | ||
InodeMetadata.cpp | ||
InodeMetadata.h | ||
InodeWatcher.cpp | ||
InodeWatcher.h | ||
Mount.cpp | ||
Mount.h | ||
OpenFileDescription.cpp | ||
OpenFileDescription.h | ||
UnveilNode.h | ||
VirtualFileSystem.cpp | ||
VirtualFileSystem.h |