# HG changeset patch
# User Peter Kovacs <kpeter@inf.elte.hu>
# Date 1268033621 -3600
# Node ID a93f1a27d83125233114f2052c1e523c5e2f26e1
# Parent  b6f76c95992e27eff14c52f9df53527e4c2e71da
Fix gcc 3.3 compilation error (#354)

gcc 3.3 requires that a class has a default constructor if it has
template named parameters. (That constructor can be protected.)

diff -r b6f76c95992e -r a93f1a27d831 lemon/capacity_scaling.h
--- a/lemon/capacity_scaling.h	Thu Mar 04 10:03:14 2010 +0100
+++ b/lemon/capacity_scaling.h	Mon Mar 08 08:33:41 2010 +0100
@@ -301,6 +301,10 @@
 
     /// @}
 
+  protected:
+
+    CapacityScaling() {}
+
   public:
 
     /// \brief Constructor.
diff -r b6f76c95992e -r a93f1a27d831 lemon/cost_scaling.h
--- a/lemon/cost_scaling.h	Thu Mar 04 10:03:14 2010 +0100
+++ b/lemon/cost_scaling.h	Mon Mar 08 08:33:41 2010 +0100
@@ -325,6 +325,10 @@
 
     /// @}
 
+  protected:
+
+    CostScaling() {}
+
   public:
 
     /// \brief Constructor.
diff -r b6f76c95992e -r a93f1a27d831 lemon/hartmann_orlin.h
--- a/lemon/hartmann_orlin.h	Thu Mar 04 10:03:14 2010 +0100
+++ b/lemon/hartmann_orlin.h	Mon Mar 08 08:33:41 2010 +0100
@@ -241,6 +241,10 @@
 
     /// @}
 
+  protected:
+
+    HartmannOrlin() {}
+
   public:
 
     /// \brief Constructor.
diff -r b6f76c95992e -r a93f1a27d831 lemon/howard.h
--- a/lemon/howard.h	Thu Mar 04 10:03:14 2010 +0100
+++ b/lemon/howard.h	Mon Mar 08 08:33:41 2010 +0100
@@ -231,6 +231,10 @@
     
     /// @}
 
+  protected:
+
+    Howard() {}
+
   public:
 
     /// \brief Constructor.
diff -r b6f76c95992e -r a93f1a27d831 lemon/karp.h
--- a/lemon/karp.h	Thu Mar 04 10:03:14 2010 +0100
+++ b/lemon/karp.h	Mon Mar 08 08:33:41 2010 +0100
@@ -237,6 +237,10 @@
 
     /// @}
 
+  protected:
+
+    Karp() {}
+
   public:
 
     /// \brief Constructor.
diff -r b6f76c95992e -r a93f1a27d831 lemon/suurballe.h
--- a/lemon/suurballe.h	Thu Mar 04 10:03:14 2010 +0100
+++ b/lemon/suurballe.h	Mon Mar 08 08:33:41 2010 +0100
@@ -403,6 +403,10 @@
     PredMap *_init_pred;
     bool _full_init;
 
+  protected:
+
+    Suurballe() {}
+
   public:
 
     /// \brief Constructor.