From 11dc98b4ffc22dedc019cf66fa81218a6adc179e Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 20 Feb 2021 01:07:12 +0000 Subject: Pass a cppcheck --- game/vehicles/vehicle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game/vehicles') diff --git a/game/vehicles/vehicle.h b/game/vehicles/vehicle.h index 945d43b..bbfa6ea 100644 --- a/game/vehicles/vehicle.h +++ b/game/vehicles/vehicle.h @@ -24,7 +24,7 @@ private: class Vehicle : public WorldObject, public Renderable { public: - Vehicle(const LinkPtr & link, float linkDist = 0); + explicit Vehicle(const LinkPtr & link, float linkDist = 0); float linkDist; // distance long current link float speed {50}; // speed in m/s (~75 km/h) -- cgit v1.2.3