diff -r 94387da47f79 -r c5fd2d996909 lemon/lgf_writer.h --- a/lemon/lgf_writer.h Thu Mar 05 10:13:20 2009 +0000 +++ b/lemon/lgf_writer.h Sun Mar 29 23:08:20 2009 +0200 @@ -406,11 +406,11 @@ /// section to the stream. The output stream can be retrieved with /// the \c ostream() function, hence the second pass can append its /// output to the output of the first pass. - template + template class DigraphWriter { public: - typedef _Digraph Digraph; + typedef GR Digraph; TEMPLATE_DIGRAPH_TYPEDEFS(Digraph); private: @@ -974,11 +974,11 @@ /// '+' and \c '-'. The arcs are written into the \c \@attributes /// section as a \c '+' or a \c '-' prefix (depends on the direction /// of the arc) and the label of corresponding edge. - template + template class GraphWriter { public: - typedef _Graph Graph; + typedef GR Graph; TEMPLATE_GRAPH_TYPEDEFS(Graph); private: @@ -1073,15 +1073,15 @@ private: - template - friend GraphWriter graphWriter(const GR& graph, - std::ostream& os); - template - friend GraphWriter graphWriter(const GR& graph, - const std::string& fn); - template - friend GraphWriter graphWriter(const GR& graph, - const char *fn); + template + friend GraphWriter graphWriter(const Graph& graph, + std::ostream& os); + template + friend GraphWriter graphWriter(const Graph& graph, + const std::string& fn); + template + friend GraphWriter graphWriter(const Graph& graph, + const char *fn); GraphWriter(GraphWriter& other) : _os(other._os), local_os(other.local_os), _graph(other._graph),