diff options
author | Max Kellermann <max@musicpd.org> | 2018-10-19 19:41:59 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-10-19 19:41:59 +0200 |
commit | 86dc621086bff763e284bd13ac2a28dd32b8df25 (patch) | |
tree | dbef9661605608d68a2d97b2ad357db09350f323 /src/tag | |
parent | a2cd66ed6fb908b55fd9f86e2b0b4f624490af22 (diff) |
tag/Rva2: make struct id3_tag pointers `const`
Diffstat (limited to 'src/tag')
-rw-r--r-- | src/tag/Rva2.cxx | 3 | ||||
-rw-r--r-- | src/tag/Rva2.hxx | 3 |
2 files changed, 4 insertions, 2 deletions
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 |