From 0f488d57dc05e31194cf129bf754bb2adf0a5b6e Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 15 Feb 2021 19:28:44 +0000 Subject: Define a vehicle weak ptr --- game/vehicles/vehicle.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/game/vehicles/vehicle.h b/game/vehicles/vehicle.h index 8a85a28..15d401b 100644 --- a/game/vehicles/vehicle.h +++ b/game/vehicles/vehicle.h @@ -4,6 +4,7 @@ #include "game/physical.h" #include #include +#include #include #include #include @@ -30,5 +31,6 @@ public: protected: LinkHistory linkHist; }; +using VehicleWPtr = std::weak_ptr; #endif -- cgit v1.2.3