[Lemon-commits] Alpar Juttner: GCC 3.3 compatibility fix in naga...

Lemon HG hg at lemon.cs.elte.hu
Fri Jan 20 19:32:54 CET 2012


details:   http://lemon.cs.elte.hu/hg/lemon/rev/eb252f805431
changeset: 1130:eb252f805431
user:      Alpar Juttner <alpar [at] cs.elte.hu>
date:      Fri Jan 20 19:08:00 2012 +0100
description:
	GCC 3.3 compatibility fix in nagamochi_ibaraki.h

diffstat:

 lemon/nagamochi_ibaraki.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (17 lines):

diff --git a/lemon/nagamochi_ibaraki.h b/lemon/nagamochi_ibaraki.h
--- a/lemon/nagamochi_ibaraki.h
+++ b/lemon/nagamochi_ibaraki.h
@@ -300,7 +300,12 @@
       }
     }
 
-  public :
+  protected:
+    //This is here to avoid a gcc-3.3 compilation error.
+    //It should never be called.
+    NagamochiIbaraki() {} 
+    
+  public:
 
     typedef NagamochiIbaraki Create;
 



More information about the Lemon-commits mailing list