From f78dd78dc3e510a126a310bac19819b52966d42c Mon Sep 17 00:00:00 2001 From: Relintai Date: Thu, 7 Mar 2024 19:15:06 +0100 Subject: [PATCH] Fix inconsistent overrides. --- modules/layered_tile_map/editor/layered_tile_data_editors.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/layered_tile_map/editor/layered_tile_data_editors.h b/modules/layered_tile_map/editor/layered_tile_data_editors.h index fe13c5edfa..d7cc583cea 100644 --- a/modules/layered_tile_map/editor/layered_tile_data_editors.h +++ b/modules/layered_tile_map/editor/layered_tile_data_editors.h @@ -244,7 +244,7 @@ class TileDataDefaultEditor : public LayeredTileDataEditor { virtual void _setup_undo_redo_action(LayeredTileSetAtlasSource *p_tile_set_atlas_source, const HashMap &p_previous_values, const Variant &p_new_value); public: - virtual Control *get_toolbar() override { return toolbar; }; + virtual Control *get_toolbar() { return toolbar; }; virtual void forward_draw_over_atlas(LayeredTileAtlasView *p_tile_atlas_view, LayeredTileSetAtlasSource *p_tile_atlas_source, CanvasItem *p_canvas_item, Transform2D p_transform); virtual void forward_draw_over_alternatives(LayeredTileAtlasView *p_tile_atlas_view, LayeredTileSetAtlasSource *p_tile_atlas_source, CanvasItem *p_canvas_item, Transform2D p_transform); virtual void forward_painting_atlas_gui_input(LayeredTileAtlasView *p_tile_atlas_view, LayeredTileSetAtlasSource *p_tile_atlas_source, const Ref &p_event); @@ -383,7 +383,7 @@ class TileDataTerrainsEditor : public LayeredTileDataEditor { static void _bind_methods(); public: - virtual Control *get_toolbar() override { return toolbar; }; + virtual Control *get_toolbar() { return toolbar; }; virtual void forward_draw_over_atlas(LayeredTileAtlasView *p_tile_atlas_view, LayeredTileSetAtlasSource *p_tile_atlas_source, CanvasItem *p_canvas_item, Transform2D p_transform); virtual void forward_draw_over_alternatives(LayeredTileAtlasView *p_tile_atlas_view, LayeredTileSetAtlasSource *p_tile_atlas_source, CanvasItem *p_canvas_item, Transform2D p_transform); virtual void forward_painting_atlas_gui_input(LayeredTileAtlasView *p_tile_atlas_view, LayeredTileSetAtlasSource *p_tile_atlas_source, const Ref &p_event);