diff --git a/lemon/lgf_writer.h b/lemon/lgf_writer.h --- a/lemon/lgf_writer.h +++ b/lemon/lgf_writer.h @@ -934,7 +934,7 @@ std::ostream* _os; bool local_os; - Graph& _graph; + const Graph& _graph; std::string _nodes_caption; std::string _edges_caption;