fix: clang-tidy misc-const-correctness warnings (#3529)

This commit is contained in:
Charles Kerr
2022-07-27 09:03:13 -05:00
committed by GitHub
parent 78b24b594b
commit ec79a2a888
42 changed files with 89 additions and 85 deletions

View File

@@ -38,7 +38,7 @@ namespace
void ensureSoundCommandIsAList(tr_variant* dict)
{
tr_quark key = TR_KEY_torrent_complete_sound_command;
tr_quark const key = TR_KEY_torrent_complete_sound_command;
if (tr_variant* list = nullptr; tr_variantDictFindList(dict, key, &list))
{