Patrick Williams | 4585273 | 2022-04-02 08:58:32 -0500 | [diff] [blame] | 1 | It 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 | |
| 12 | Make these functions non-override. |
| 13 | |
| 14 | Upstream-Status: Pending |
| 15 | |
| 16 | Signed-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 | |
| 21 | diff --git a/sip/cpp/sip_gridwxGridEvent.cpp b/sip/cpp/sip_gridwxGridEvent.cpp |
| 22 | index 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 | |