Skip to content

Commit

Permalink
use of moved value
Browse files Browse the repository at this point in the history
  • Loading branch information
Yangff committed May 24, 2024
1 parent f1c14cc commit a9b3b18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UE4SS/src/Mod/CppMod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace RC
{
CppMod::CppMod(UE4SSProgram& program, SystemStringType&& mod_name, SystemStringType&& mod_path) : Mod(program, std::move(mod_name), std::move(mod_path))
{
auto resolved_dlls_path = File::get_path_if_exists(mod_path, SYSSTR("dlls"));
auto resolved_dlls_path = File::get_path_if_exists(get_name(), SYSSTR("dlls"));
if (resolved_dlls_path)
{
m_dlls_path = to_system_string(*resolved_dlls_path);
Expand Down

0 comments on commit a9b3b18

Please sign in to comment.