Access class static methods with "::"

Recommendation from Clang-Tidy: https://clang.llvm.org/extra/clang-tidy/checks/readability-static-accessed-through-instance.html
This commit is contained in:
scribam 2019-06-01 15:52:39 +02:00 committed by Ivan
parent 09c9996f31
commit 8a6b5ca71f
11 changed files with 31 additions and 31 deletions

View file

@ -56,7 +56,7 @@ trophy_manager_dialog::trophy_manager_dialog(std::shared_ptr<gui_settings> gui_s
m_show_platinum_trophies = m_gui_settings->GetValue(gui::tr_show_platinum).toBool();
// HACK: dev_hdd0 must be mounted for vfs to work for loading trophies.
vfs::mount("/dev_hdd0", Emu.GetHddDir());
vfs::mount("/dev_hdd0", Emulator::GetHddDir());
// Get the currently selected user's trophy path.
m_trophy_dir = "/dev_hdd0/home/" + Emu.GetUsr() + "/trophy/";