[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi] [PATCH 3/3] Fix incorrect use of unqualified GetLabel().
From: |
Vadim Zeitlin |
Subject: |
[lmi] [PATCH 3/3] Fix incorrect use of unqualified GetLabel(). |
Date: |
Mon, 29 Sep 2014 16:30:50 +0200 |
GetLabel() here can't be found by neither unqualified nor argument-dependent
lookup and hence can't be found at all according to the standard C++ rules.
Earlier versions of g++ did find it in the base class somehow, but this (bug)
has been corrected in g++ 4.9 which now requires the use of qualified name.
---
multidimgrid_tools.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/multidimgrid_tools.hpp b/multidimgrid_tools.hpp
index 476972b..cba2f06 100644
--- a/multidimgrid_tools.hpp
+++ b/multidimgrid_tools.hpp
@@ -360,7 +360,7 @@ void AdjustableMaxBoundAxis<Integral>::UpdateChoiceControl
while(choice.GetCount() < new_count)
{
- choice.Append(GetLabel(choice.GetCount() + min_value));
+ choice.Append(this->GetLabel(choice.GetCount() + min_value));
}
if(selection == wxNOT_FOUND)
--
2.1.0.rc0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi] [PATCH 3/3] Fix incorrect use of unqualified GetLabel().,
Vadim Zeitlin <=