--- zeno/include/zeno/utils/PropertyVisitor.h.orig 2024-04-25 15:55:29 UTC +++ zeno/include/zeno/utils/PropertyVisitor.h @@ -396,12 +396,12 @@ namespace zeno { } if constexpr (IsSharedPtr()) { - if (!bIsOptional || Primitive->userData().has(KeyName)) { - ValueRef = Primitive->userData().get(KeyName); + if (!bIsOptional || Primitive->userData().template has(KeyName)) { + ValueRef = Primitive->userData().template get(KeyName); } } else { - if (!bIsOptional || Primitive->userData().has(KeyName)) { - ValueRef = Primitive->userData().get2(KeyName); + if (!bIsOptional || Primitive->userData().template has(KeyName)) { + ValueRef = Primitive->userData().template get2(KeyName); } } };