# HG changeset patch # User rubidium # Date 2013-02-17 20:48:52 # Node ID eb5845ecfce0351562637a83d76042fb79e5c141 # Parent 09b552cfa41db8b6bc29b3015e7cd0985f5adb69 (svn r25019) -Fix: GCC doesn't seem to care if one does Class::Class::Function (thinks it is a function), whereas MSVC thinks it is the constructor diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -1016,7 +1016,7 @@ uint SmallMapWindow::GetLegendHeight(uin } } -/* virtual */ void SmallMapWindow::SmallMapWindow::OnInit() +/* virtual */ void SmallMapWindow::OnInit() { uint min_width = 0; this->min_number_of_columns = INDUSTRY_MIN_NUMBER_OF_COLUMNS;