# HG changeset patch # User deba # Date 1196272898 0 # Node ID 10f3b3286e6393756f49a4dd6e3dc375a8ec4d37 # Parent b7727edd44f27e57c295147d8d3e02946ce3eb25 bug fix class without constructor error diff -r b7727edd44f2 -r 10f3b3286e63 lemon/circulation.h --- a/lemon/circulation.h Wed Nov 28 17:51:02 2007 +0000 +++ b/lemon/circulation.h Wed Nov 28 18:01:38 2007 +0000 @@ -231,6 +231,12 @@ /// @} + protected: + + Circulation() {} + + public: + /// The constructor of the class. /// The constructor of the class. diff -r b7727edd44f2 -r 10f3b3286e63 lemon/dinitz_sleator_tarjan.h --- a/lemon/dinitz_sleator_tarjan.h Wed Nov 28 17:51:02 2007 +0000 +++ b/lemon/dinitz_sleator_tarjan.h Wed Nov 28 18:01:38 2007 +0000 @@ -213,6 +213,12 @@ } }; + protected: + + DinitzSleatorTarjan() {} + + public: + /// \brief The constructor of the class. /// /// The constructor of the class. diff -r b7727edd44f2 -r 10f3b3286e63 lemon/edmonds_karp.h --- a/lemon/edmonds_karp.h Wed Nov 28 17:51:02 2007 +0000 +++ b/lemon/edmonds_karp.h Wed Nov 28 18:01:38 2007 +0000 @@ -192,6 +192,12 @@ /// @} + protected: + + EdmondsKarp() {} + + public: + /// \brief The constructor of the class. /// /// The constructor of the class. diff -r b7727edd44f2 -r 10f3b3286e63 lemon/goldberg_tarjan.h --- a/lemon/goldberg_tarjan.h Wed Nov 28 17:51:02 2007 +0000 +++ b/lemon/goldberg_tarjan.h Wed Nov 28 18:01:38 2007 +0000 @@ -272,7 +272,11 @@ } }; - public: + protected: + + GoldbergTarjan() {} + + public: /// \brief The constructor of the class. /// diff -r b7727edd44f2 -r 10f3b3286e63 lemon/preflow.h --- a/lemon/preflow.h Wed Nov 28 17:51:02 2007 +0000 +++ b/lemon/preflow.h Wed Nov 28 18:01:38 2007 +0000 @@ -168,6 +168,7 @@ bool _phase; + void createStructures() { _node_num = countNodes(_graph); @@ -266,6 +267,13 @@ /// @} + protected: + + Preflow() {} + + public: + + /// \brief The constructor of the class. /// /// The constructor of the class.