Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Street.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define STREET_H

#include "TrafficObject.h"
#include <memory>

// forward declaration to avoid include cycle
class Intersection;
Expand Down Expand Up @@ -29,4 +30,4 @@ class Street : public TrafficObject, public std::enable_shared_from_this<Street>
std::shared_ptr<Intersection> _interIn, _interOut; // intersections from which a vehicle can enter (one-way streets is always from 'in' to 'out')
};

#endif
#endif
3 changes: 2 additions & 1 deletion src/Vehicle.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define VEHICLE_H

#include "TrafficObject.h"
#include <memory>

// forward declarations to avoid include cycle
class Street;
Expand Down Expand Up @@ -33,4 +34,4 @@ class Vehicle : public TrafficObject, public std::enable_shared_from_this<Vehicl
double _speed; // ego speed in m/s
};

#endif
#endif