From 329c448d306d96dc39c9ecbbc1d2cda13e1f17fd Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 11 Jul 2022 22:11:33 +0200 Subject: [PATCH] decoder/wavpack: use [[gnu::pure]] --- src/decoder/plugins/WavpackDecoderPlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decoder/plugins/WavpackDecoderPlugin.cxx b/src/decoder/plugins/WavpackDecoderPlugin.cxx index 0e2a49323..871b9e1a7 100644 --- a/src/decoder/plugins/WavpackDecoderPlugin.cxx +++ b/src/decoder/plugins/WavpackDecoderPlugin.cxx @@ -78,7 +78,7 @@ WavpackOpenInput(const WavpackStreamReader64 &reader, void *wv_id, void *wvc_id, return wpc; } -gcc_pure +[[gnu::pure]] static SignedSongTime GetDuration(WavpackContext *wpc) noexcept {