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