mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
Everywhere: Run clang-format
This commit is contained in:
committed by
Linus Groh
parent
0376c127f6
commit
086969277e
@@ -61,7 +61,7 @@ public:
|
||||
virtual bool is_file_backed() const { return false; }
|
||||
|
||||
// Converts file types that are used internally by the filesystem to DT_* types
|
||||
virtual u8 internal_file_type_to_directory_entry_type(const DirectoryEntryView& entry) const { return entry.file_type; }
|
||||
virtual u8 internal_file_type_to_directory_entry_type(DirectoryEntryView const& entry) const { return entry.file_type; }
|
||||
|
||||
protected:
|
||||
FileSystem();
|
||||
@@ -83,7 +83,7 @@ inline FileSystem* InodeIdentifier::fs() // NOLINT(readability-make-member-funct
|
||||
return FileSystem::from_fsid(m_fsid);
|
||||
}
|
||||
|
||||
inline const FileSystem* InodeIdentifier::fs() const
|
||||
inline FileSystem const* InodeIdentifier::fs() const
|
||||
{
|
||||
return FileSystem::from_fsid(m_fsid);
|
||||
}
|
||||
@@ -94,7 +94,7 @@ namespace AK {
|
||||
|
||||
template<>
|
||||
struct Traits<Kernel::InodeIdentifier> : public GenericTraits<Kernel::InodeIdentifier> {
|
||||
static unsigned hash(const Kernel::InodeIdentifier& inode) { return pair_int_hash(inode.fsid().value(), inode.index().value()); }
|
||||
static unsigned hash(Kernel::InodeIdentifier const& inode) { return pair_int_hash(inode.fsid().value(), inode.index().value()); }
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user