blob: 51b9a462b114a02bc64b202defc54cf2b43bfc4f [file] [log] [blame]
Patrick Williams45852732022-04-02 08:58:32 -05001It fails to compile with errors:
2
3| ../../../../sip/cpp/sip_gridwxGridEvent.cpp:35:9: error: 'int sipwxGridEvent::GetRow()'
4 marked 'override', but does not override
5| 35 | int GetRow() SIP_OVERRIDE;
6| | ^~~~~~
7| ../../../../sip/cpp/sip_gridwxGridEvent.cpp:36:9: error: 'int sipwxGridEvent::GetCol()'
8 marked 'override', but does not over ride
9| 36 | int GetCol() SIP_OVERRIDE;
10| | ^~~~~~
11
12Make these functions non-override.
13
14Upstream-Status: Pending
15
16Signed-off-by: Kai Kang <kai.kang@windriver.com>
17---
18 sip/cpp/sip_gridwxGridEvent.cpp | 4 ++--
19 1 file changed, 2 insertions(+), 2 deletions(-)
20
21diff --git a/sip/cpp/sip_gridwxGridEvent.cpp b/sip/cpp/sip_gridwxGridEvent.cpp
22index 0830b677..314aec94 100644
23--- a/sip/cpp/sip_gridwxGridEvent.cpp
24+++ b/sip/cpp/sip_gridwxGridEvent.cpp
25@@ -32,8 +32,8 @@ public:
26 * this class.
27 */
28 protected:
29- int GetRow() SIP_OVERRIDE;
30- int GetCol() SIP_OVERRIDE;
31+ int GetRow() ;
32+ int GetCol() ;
33 ::wxEvent* Clone() const SIP_OVERRIDE;
34 ::wxEventCategory GetEventCategory() const SIP_OVERRIDE;
35