From fa0f92958cc9eb2becf70e19b84f505ed1d75bd9 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Mon, 29 Sep 2025 17:26:27 +0200 Subject: [PATCH] [cpp] Fix findConstraint template. --- spine-cpp/include/spine/Skeleton.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-cpp/include/spine/Skeleton.h b/spine-cpp/include/spine/Skeleton.h index dcd8f67e2..a6a9c8bbf 100644 --- a/spine-cpp/include/spine/Skeleton.h +++ b/spine-cpp/include/spine/Skeleton.h @@ -232,7 +232,7 @@ namespace spine { if (constraintName.isEmpty()) return NULL; for (size_t i = 0; i < _constraints.size(); i++) { Constraint *constraint = _constraints[i]; - if (constraint->getRTTI().isExactly(T::RTTI)) { + if (constraint->getRTTI().isExactly(T::rtti)) { if (constraint->getData().getName() == constraintName) { return (T *) constraint; }