From 7fe2af5fd37c0ceb8361b3cc831ce222e3fe196d Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 17 Feb 2013 20:48:52 +0000 Subject: [PATCH] (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 d42ed3c151..b22e606b83 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;