Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
firthm01 committed Dec 14, 2023
1 parent 4e01fbd commit aeacaba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions shared/helper/adm_preset_definitions_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ namespace {

template <typename Prop, typename Elm>
bool matchingProp(const Elm& elmA, const Elm& elmB) {
bool hasProp = elmA.has<Prop>();
if (hasProp != elmB.has<Prop>())
bool hasProp = elmA.template has<Prop>();
if (hasProp != elmB.template has<Prop>())
return false;
if (hasProp) {
auto valA = elmA.get<Prop>();
auto valB = elmB.get<Prop>();
auto valA = elmA.template get<Prop>();
auto valB = elmB.template get<Prop>();
if (valA != valB) return false;
}
return true;
Expand Down

0 comments on commit aeacaba

Please sign in to comment.