From dfdced2239ae50ac2f672d156242a1de5d7118a3 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 17 Feb 2013 20:48:52 +0000 Subject: (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 --- src/smallmap_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index d42ed3c15..b22e606b8 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -1016,7 +1016,7 @@ uint SmallMapWindow::GetLegendHeight(uint num_columns) const } } -/* virtual */ void SmallMapWindow::SmallMapWindow::OnInit() +/* virtual */ void SmallMapWindow::OnInit() { uint min_width = 0; this->min_number_of_columns = INDUSTRY_MIN_NUMBER_OF_COLUMNS; -- cgit v1.2.3-54-g00ecf