diff --git a/lib/mayaUsd/ufe/UsdAttribute.h b/lib/mayaUsd/ufe/UsdAttribute.h index 8774861059..bff752e58b 100644 --- a/lib/mayaUsd/ufe/UsdAttribute.h +++ b/lib/mayaUsd/ufe/UsdAttribute.h @@ -188,7 +188,11 @@ class UsdAttributeGeneric //! \brief Interface for USD token attributes. class UsdAttributeFilename : public Ufe::AttributeFilename +#ifdef UFE_V4_FEATURES_AVAILABLE + , public UsdAttribute +#else , private UsdAttribute +#endif { public: typedef std::shared_ptr Ptr;