Merge remote-tracking branches 'neheb/fwhfggwe', 'neheb/nvm2', 'neheb/nvm22', 'neheb/bvm' and 'neheb/cl2'
This commit is contained in:
@@ -58,7 +58,7 @@ public:
|
||||
*/
|
||||
IcyInputStream(InputStreamPtr _input,
|
||||
std::shared_ptr<IcyMetaDataParser> _parser);
|
||||
virtual ~IcyInputStream() noexcept;
|
||||
~IcyInputStream() noexcept override;
|
||||
|
||||
IcyInputStream(const IcyInputStream &) = delete;
|
||||
IcyInputStream &operator=(const IcyInputStream &) = delete;
|
||||
|
||||
@@ -69,7 +69,7 @@ InputStream::CheapSeeking() const noexcept
|
||||
}
|
||||
|
||||
void
|
||||
InputStream::Seek(std::unique_lock<Mutex> &, gcc_unused offset_type new_offset)
|
||||
InputStream::Seek(std::unique_lock<Mutex> &, [[maybe_unused]] offset_type new_offset)
|
||||
{
|
||||
throw std::runtime_error("Seeking is not implemented");
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ public:
|
||||
Mutex &_mutex) noexcept
|
||||
:InputStream(_uri, _mutex) {}
|
||||
|
||||
virtual ~ProxyInputStream() noexcept;
|
||||
~ProxyInputStream() noexcept override;
|
||||
|
||||
ProxyInputStream(const ProxyInputStream &) = delete;
|
||||
ProxyInputStream &operator=(const ProxyInputStream &) = delete;
|
||||
|
||||
@@ -110,7 +110,7 @@ protected:
|
||||
InvalidateSockets();
|
||||
}
|
||||
|
||||
void DoSeek(gcc_unused offset_type new_offset) override {
|
||||
void DoSeek([[maybe_unused]] offset_type new_offset) override {
|
||||
/* unreachable because seekable==false */
|
||||
SeekDone();
|
||||
}
|
||||
@@ -289,7 +289,7 @@ AlsaInputStream::Recover(int err)
|
||||
if (err == -EAGAIN)
|
||||
return 0;
|
||||
/* fall-through to snd_pcm_prepare: */
|
||||
#if GCC_CHECK_VERSION(7,0)
|
||||
#if CLANG_OR_GCC_VERSION(7,0)
|
||||
[[fallthrough]];
|
||||
#endif
|
||||
case SND_PCM_STATE_OPEN:
|
||||
|
||||
Reference in New Issue
Block a user