1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

fix cppcheck warning

This commit is contained in:
Steffen Vogel 2021-03-17 11:38:00 -04:00
parent 827104b9d7
commit 7e3e16d803

View file

@ -50,10 +50,10 @@ public:
using Path = std::list<EdgeIdentifier>;
DirectedGraph(const std::string &name = "DirectedGraph") :
lastVertexId(0), lastEdgeId(0)
{
logger = logging.get(name);
}
lastVertexId(0),
lastEdgeId(0),
logger(logging.get(name))
{ }
std::shared_ptr<VertexType> getVertex(VertexIdentifier vertexId) const
{