From aef013473b608659a7530f034e3ed59594b6d0f5 Mon Sep 17 00:00:00 2001 From: Paddle Date: Wed, 1 Nov 2023 16:13:18 +0100 Subject: [PATCH] DrawSketchController and DrawSketchDefaultWidgetController : fix lint warnings --- src/Mod/Sketcher/Gui/DrawSketchController.h | 4 ++-- src/Mod/Sketcher/Gui/DrawSketchDefaultWidgetController.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Mod/Sketcher/Gui/DrawSketchController.h b/src/Mod/Sketcher/Gui/DrawSketchController.h index b66f5b46cf..200fa2eea5 100644 --- a/src/Mod/Sketcher/Gui/DrawSketchController.h +++ b/src/Mod/Sketcher/Gui/DrawSketchController.h @@ -184,7 +184,7 @@ public: /** Creates the controller. * @param dshandler a controllable DSH handler */ - DrawSketchController(HandlerT* dshandler) + explicit DrawSketchController(HandlerT* dshandler) : handler(dshandler) , keymanager(std::make_unique()) {} @@ -299,7 +299,7 @@ public: /** @name Specialisation Interface */ /** These functions offer a specialisation interface. Non-virtual functions are specific to * this controller. Virtual functions may depend on input from a derived controller, and thus - * the specialisation needs to be of an overriden version (so as to be able to access members + * the specialisation needs to be of an overridden version (so as to be able to access members * of the derived controller). */ //@{ diff --git a/src/Mod/Sketcher/Gui/DrawSketchDefaultWidgetController.h b/src/Mod/Sketcher/Gui/DrawSketchDefaultWidgetController.h index 74a2806b61..7143ab4002 100644 --- a/src/Mod/Sketcher/Gui/DrawSketchDefaultWidgetController.h +++ b/src/Mod/Sketcher/Gui/DrawSketchDefaultWidgetController.h @@ -113,7 +113,7 @@ protected: using ControllerBase::handler; public: - DrawSketchDefaultWidgetController(HandlerT* dshandler) + explicit DrawSketchDefaultWidgetController(HandlerT* dshandler) : ControllerBase(dshandler) {} @@ -164,7 +164,7 @@ public: /** @name Specialisation Interface */ /** These functions offer a specialisation interface. Non-virtual functions are specific to * this controller. Virtual functions may depend on input from a derived controller, and thus - * the specialisation needs to be of an overriden version (so as to be able to access members + * the specialisation needs to be of an overridden version (so as to be able to access members * of the derived controller). */ /// Change DSH to reflect a value entered in the widget