fix: sonarcloud code smells (#2421)

This commit is contained in:
Charles Kerr
2022-01-17 12:39:50 -06:00
committed by GitHub
parent 19ede2b8cd
commit 3036a76beb
41 changed files with 190 additions and 197 deletions

View File

@@ -592,7 +592,7 @@ std::string buildFilename(tr_torrent const* tor, Gtk::TreeModel::iterator const&
tokens.push_front(child->get_value(file_cols.label));
}
tokens.push_front(tr_torrentGetCurrentDir(tor));
tokens.emplace_front(tr_torrentGetCurrentDir(tor));
return Glib::build_filename(tokens);
}