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