mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 18:17:23 +00:00
HexEditor: Make HexDocuments final
There's no reason as to why someone would inherit those, so might aswell make them final.
This commit is contained in:
parent
af754211fa
commit
9f38966105
Notes:
sideshowbarker
2024-07-17 22:17:46 +09:00
Author: https://github.com/standardexe
Commit: 9f38966105
Pull-request: https://github.com/SerenityOS/serenity/pull/10865
Reviewed-by: https://github.com/kleinesfilmroellchen
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ protected:
|
|||
HashMap<size_t, u8> m_changes;
|
||||
};
|
||||
|
||||
class HexDocumentMemory : public HexDocument {
|
||||
class HexDocumentMemory final : public HexDocument {
|
||||
public:
|
||||
explicit HexDocumentMemory(ByteBuffer&& buffer);
|
||||
virtual ~HexDocumentMemory() = default;
|
||||
|
@ -49,7 +49,7 @@ private:
|
|||
ByteBuffer m_buffer;
|
||||
};
|
||||
|
||||
class HexDocumentFile : public HexDocument {
|
||||
class HexDocumentFile final : public HexDocument {
|
||||
public:
|
||||
explicit HexDocumentFile(NonnullRefPtr<Core::File> file);
|
||||
virtual ~HexDocumentFile() = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue