Fix warning: std::move of const variables

This commit is contained in:
Megamouse 2024-06-26 23:17:18 +02:00 committed by Elad Ashkenazi
parent df6bec236f
commit e635abe552

View file

@ -195,8 +195,8 @@ static error_code prx_load_module(const std::string& vpath, u64 flags, vm::ptr<s
}
std::string vpath0;
const std::string path = vfs::get(vpath, nullptr, &vpath0);
const std::string name = vpath0.substr(vpath0.find_last_of('/') + 1);
std::string path = vfs::get(vpath, nullptr, &vpath0);
std::string name = vpath0.substr(vpath0.find_last_of('/') + 1);
bool ignore = false;