Skip to content

Commit

Permalink
Fix minor perf issue found by linter
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkewley committed Jul 1, 2024
1 parent 1bec978 commit e6a6d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oscar/Platform/AppSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ R"(# configuration options
void set_value_if_not_found(std::string_view key, Variant value, AppSettingScope scope)
{
if (not find_value(key)) {
set_value(key, value, scope);
set_value(key, std::move(value), scope);
}
}

Expand Down

0 comments on commit e6a6d35

Please sign in to comment.