[cpp] 4.3 porting WIP

This commit is contained in:
Mario Zechner 2025-07-02 14:54:33 +02:00
parent 3a2c986e2b
commit f92576bbe9
4 changed files with 5 additions and 3 deletions

View File

@ -40,7 +40,7 @@ namespace spine {
class Skeleton;
class SP_API Constraint : public Update {
RTTI_DECL_NOPARENT
RTTI_DECL
friend class Skeleton;
public:

View File

@ -62,7 +62,7 @@ namespace spine {
ConstraintDataGeneric(const String &name) : PosedDataGeneric<P>(name), ConstraintData(name) {}
virtual ~ConstraintDataGeneric() {}
virtual Constraint* create(Skeleton& skeleton) = 0;
virtual Constraint* create(Skeleton& skeleton) override = 0;
// Resolve ambiguity by forwarding to PosedData's implementation
virtual const String &getName() const override { return PosedDataGeneric<P>::getName(); }

View File

@ -81,7 +81,7 @@ namespace spine {
void setSlot(Slot *slot);
PathConstraintData &getData();
virtual PathConstraintData &getData() override;

View File

@ -31,6 +31,8 @@
using namespace spine;
RTTI_IMPL(Constraint, Update)
Constraint::Constraint() {
}