diff --git a/samples/Cpp/TestCpp/Classes/PhysicsTest/PhysicsTest.h b/samples/Cpp/TestCpp/Classes/PhysicsTest/PhysicsTest.h index 2bbf6b1aee..040283506b 100644 --- a/samples/Cpp/TestCpp/Classes/PhysicsTest/PhysicsTest.h +++ b/samples/Cpp/TestCpp/Classes/PhysicsTest/PhysicsTest.h @@ -26,6 +26,8 @@ private: class PhysicsDemoDisabled : public BaseTest { public: + CREATE_FUNC(PhysicsDemoDisabled); + virtual void onEnter() override; }; #else