diff --git a/lemon/nauty_reader.h b/lemon/nauty_reader.h --- a/lemon/nauty_reader.h +++ b/lemon/nauty_reader.h @@ -48,7 +48,7 @@ ///\code /// int num = 0; /// SmartGraph graph; - /// while (readNauty(graph, std::cin)) { + /// while (readNautyGraph(graph, std::cin)) { /// PlanarityChecking pc(graph); /// if (pc.run()) ++num; /// } @@ -61,7 +61,7 @@ /// ./geng -c 10 | ./num_of_planar_graphs ///\endcode template - std::istream& readNauty(Graph& graph, std::istream& is = std::cin) { + std::istream& readNautyGraph(Graph& graph, std::istream& is = std::cin) { graph.clear(); std::string line; diff --git a/tools/lemon-0.x-to-1.x.sh b/tools/lemon-0.x-to-1.x.sh --- a/tools/lemon-0.x-to-1.x.sh +++ b/tools/lemon-0.x-to-1.x.sh @@ -90,6 +90,7 @@ -e "s/\/LoggerBoolMap/g"\ -e "s/\/loggerBoolMap/g"\ -e "s/\/Box/g"\ + -e "s/\/readNautyGraph/g"\ <$i > $TMP mv $TMP $i done