Skip to content

Commit

Permalink
Changed std::equal_to to lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
GuusKemperman committed Aug 18, 2024
1 parent ef4e51d commit 0aac802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Include/Utilities/Reflect/ReflectFieldType.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace CE
return;
}

MetaProps& equalFuncProps = type.AddFunc(std::equal_to<T>(), OperatorType::equal).GetProperties();
MetaProps& equalFuncProps = type.AddFunc([](const T& lhs, const T& rhs) { return lhs == rhs; }, OperatorType::equal).GetProperties();

if (type.GetProperties().Has(Props::sIsScriptableTag))
{
Expand Down

0 comments on commit 0aac802

Please sign in to comment.