Commit 74d5ca76 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

fix cppcheck warning

parent 37e4c523
......@@ -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
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment