Skip to content
Snippets Groups Projects
Commit af1a336c authored by René Paris's avatar René Paris
Browse files

Remove virtual inheritance

parent 18b7a9be
No related branches found
No related tags found
No related merge requests found
/*******************************************************************************
* Copyright (c) 2021, Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
* Copyright (c) 2021-2023, Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
......@@ -23,7 +23,7 @@
namespace mantle_api
{
class IRoute : public virtual IIdentifiable
class IRoute : public IIdentifiable
{
public:
virtual IRoute& AddWaypoint(const Vec3<units::length::meter_t>& inert_pos) = 0;
......
/*******************************************************************************
* Copyright (c) 2021-2022, Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
* Copyright (c) 2021-2023, Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
......@@ -83,7 +83,7 @@ public:
[[nodiscard]] virtual EntityVisibilityConfig GetVisibility() const = 0;
};
class IVehicle : public virtual IEntity
class IVehicle : public IEntity
{
public:
[[nodiscard]] VehicleProperties* GetProperties() const override = 0;
......@@ -95,13 +95,13 @@ public:
// virtual void SetHost() = 0;
};
class IPedestrian : public virtual IEntity
class IPedestrian : public IEntity
{
public:
[[nodiscard]] PedestrianProperties* GetProperties() const override = 0;
};
class IStaticObject : public virtual IEntity
class IStaticObject : public IEntity
{
public:
[[nodiscard]] StaticObjectProperties* GetProperties() const override = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment