diff options
author | Andreas Kling <awesomekling@gmail.com> | 2020-01-07 07:23:16 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2020-01-07 10:24:45 +0100 |
commit | 5646a9516118caecb72f02a1bc226a9239eb8313 (patch) | |
tree | 6634801ee78ba325a7c2518644fc497e4844159a /Kernel/Net/Socket.h | |
parent | 78a63930cca64e78a6ba7ed30d46ec8570dd3bde (diff) | |
download | serenity-5646a9516118caecb72f02a1bc226a9239eb8313.zip |
Kernel: Make Socket::absolute_path() pure virtual
This is overridden by all subclasses, so can just be pure virtual.
Diffstat (limited to 'Kernel/Net/Socket.h')
-rw-r--r-- | Kernel/Net/Socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/Socket.h b/Kernel/Net/Socket.h index 6a1a21334d..3d839e6746 100644 --- a/Kernel/Net/Socket.h +++ b/Kernel/Net/Socket.h @@ -94,7 +94,7 @@ public: // ^File virtual ssize_t read(FileDescription&, u8*, ssize_t) override final; virtual ssize_t write(FileDescription&, const u8*, ssize_t) override final; - virtual String absolute_path(const FileDescription&) const override; + virtual String absolute_path(const FileDescription&) const override = 0; protected: Socket(int domain, int type, int protocol); |