From 86dc621086bff763e284bd13ac2a28dd32b8df25 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 19 Oct 2018 19:41:59 +0200 Subject: tag/Rva2: make struct id3_tag pointers `const` --- src/tag/Rva2.cxx | 3 ++- src/tag/Rva2.hxx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/tag/Rva2.cxx b/src/tag/Rva2.cxx index 2291aa34d..53e34f957 100644 --- a/src/tag/Rva2.cxx +++ b/src/tag/Rva2.cxx @@ -133,7 +133,8 @@ rva2_apply_frame(ReplayGainInfo &replay_gain_info, } bool -tag_rva2_parse(struct id3_tag *tag, ReplayGainInfo &replay_gain_info) +tag_rva2_parse(const struct id3_tag *tag, + ReplayGainInfo &replay_gain_info) noexcept { bool found = false; diff --git a/src/tag/Rva2.hxx b/src/tag/Rva2.hxx index d30d2ad0f..acbdeff40 100644 --- a/src/tag/Rva2.hxx +++ b/src/tag/Rva2.hxx @@ -32,6 +32,7 @@ struct ReplayGainInfo; * @return true on success */ bool -tag_rva2_parse(id3_tag *tag, ReplayGainInfo &replay_gain_info); +tag_rva2_parse(const struct id3_tag *tag, + ReplayGainInfo &replay_gain_info) noexcept; #endif -- cgit v1.2.3