Browse Source

VehicleController doesn't need to be refcounted, it is owned by VehicleConstraint (#1441)

See https://github.com/jrouwe/JoltPhysics/discussions/1431#discussioncomment-11744819
Jorrit Rouwe 7 months ago
parent
commit
ba8beb8230
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Jolt/Physics/Vehicle/VehicleController.h

+ 1 - 1
Jolt/Physics/Vehicle/VehicleController.h

@@ -37,7 +37,7 @@ public:
 };
 };
 
 
 /// Runtime data for interface that controls acceleration / deceleration of the vehicle
 /// Runtime data for interface that controls acceleration / deceleration of the vehicle
-class JPH_EXPORT VehicleController : public RefTarget<VehicleController>, public NonCopyable
+class JPH_EXPORT VehicleController : public NonCopyable
 {
 {
 public:
 public:
 	JPH_OVERRIDE_NEW_DELETE
 	JPH_OVERRIDE_NEW_DELETE