diff options
author | Max Kellermann <max@duempel.org> | 2014-10-02 10:07:46 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-10-02 19:17:46 +0200 |
commit | 19dd59f38c7aa07b0290ef22cac9fd7266b92042 (patch) | |
tree | 272dd81a1735cd3eb23540db5d2a4e764e4b6478 /src/storage/plugins/LocalStorage.cxx | |
parent | 37501d9bc7b4bf4b0d82d1d686fcc20b3fb856eb (diff) | |
download | mpd-19dd59f38c7aa07b0290ef22cac9fd7266b92042.tar.gz mpd-19dd59f38c7aa07b0290ef22cac9fd7266b92042.tar.xz mpd-19dd59f38c7aa07b0290ef22cac9fd7266b92042.zip |
storage: remove redundant "virtual" keywords
"override" implies "virtual".
Diffstat (limited to 'src/storage/plugins/LocalStorage.cxx')
-rw-r--r-- | src/storage/plugins/LocalStorage.cxx | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/storage/plugins/LocalStorage.cxx b/src/storage/plugins/LocalStorage.cxx index 34d11569c..b965ceea8 100644 --- a/src/storage/plugins/LocalStorage.cxx +++ b/src/storage/plugins/LocalStorage.cxx @@ -45,9 +45,8 @@ public: } /* virtual methods from class StorageDirectoryReader */ - virtual const char *Read() override; - virtual bool GetInfo(bool follow, FileInfo &info, - Error &error) override; + const char *Read() override; + bool GetInfo(bool follow, FileInfo &info, Error &error) override; }; class LocalStorage final : public Storage { @@ -62,17 +61,17 @@ public: } /* virtual methods from class Storage */ - virtual bool GetInfo(const char *uri_utf8, bool follow, FileInfo &info, - Error &error) override; + bool GetInfo(const char *uri_utf8, bool follow, FileInfo &info, + Error &error) override; - virtual StorageDirectoryReader *OpenDirectory(const char *uri_utf8, - Error &error) override; + StorageDirectoryReader *OpenDirectory(const char *uri_utf8, + Error &error) override; - virtual std::string MapUTF8(const char *uri_utf8) const override; + std::string MapUTF8(const char *uri_utf8) const override; - virtual AllocatedPath MapFS(const char *uri_utf8) const override; + AllocatedPath MapFS(const char *uri_utf8) const override; - virtual const char *MapToRelativeUTF8(const char *uri_utf8) const override; + const char *MapToRelativeUTF8(const char *uri_utf8) const override; private: AllocatedPath MapFS(const char *uri_utf8, Error &error) const; |