From d2115e908a3497463361ec22d39f2532aa5cfc10 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 17 Mar 2020 20:44:15 -0700 Subject: [PATCH] [clang-tidy] remove redundant access specifiers Found with readability-redundant-access-specifiers Signed-off-by: Rosen Penev --- src/output/plugins/OpenALOutputPlugin.cxx | 1 - src/output/plugins/RecorderOutputPlugin.cxx | 1 - src/playlist/plugins/EmbeddedCuePlaylistPlugin.cxx | 1 - 3 files changed, 3 deletions(-) diff --git a/src/output/plugins/OpenALOutputPlugin.cxx b/src/output/plugins/OpenALOutputPlugin.cxx index d421ea1b0..b69a61881 100644 --- a/src/output/plugins/OpenALOutputPlugin.cxx +++ b/src/output/plugins/OpenALOutputPlugin.cxx @@ -70,7 +70,6 @@ private: void Cancel() noexcept override; -private: [[nodiscard]] gcc_pure ALint GetSourceI(ALenum param) const noexcept { ALint value; diff --git a/src/output/plugins/RecorderOutputPlugin.cxx b/src/output/plugins/RecorderOutputPlugin.cxx index 6f61bcbf4..7674124b7 100644 --- a/src/output/plugins/RecorderOutputPlugin.cxx +++ b/src/output/plugins/RecorderOutputPlugin.cxx @@ -87,7 +87,6 @@ private: size_t Play(const void *chunk, size_t size) override; -private: [[nodiscard]] gcc_pure bool HasDynamicPath() const noexcept { return !format_path.empty(); diff --git a/src/playlist/plugins/EmbeddedCuePlaylistPlugin.cxx b/src/playlist/plugins/EmbeddedCuePlaylistPlugin.cxx index f6fe530de..bed07ad1b 100644 --- a/src/playlist/plugins/EmbeddedCuePlaylistPlugin.cxx +++ b/src/playlist/plugins/EmbeddedCuePlaylistPlugin.cxx @@ -60,7 +60,6 @@ public: std::unique_ptr parser; -public: std::unique_ptr NextSong() override; };