File tree Expand file tree Collapse file tree
include/TGUI/Backend/Renderer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ namespace tgui
8282 // / @param initRenderer Should the renderer be initialized? Should be true unless a derived class initializes it.
8383 // / @see create
8484 // //////////////////////////////////////////////////////////////////////////////////////////////////////////////
85- CanvasRaylib (const char * typeName = StaticWidgetType, bool initRenderer = true );
85+ explicit CanvasRaylib (const char * typeName = StaticWidgetType, bool initRenderer = true );
8686
8787 // //////////////////////////////////////////////////////////////////////////////////////////////////////////////
8888 // / @brief Copy constructor
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ namespace tgui
7373 // / @param initRenderer Should the renderer be initialized? Should be true unless a derived class initializes it.
7474 // / @see create
7575 // //////////////////////////////////////////////////////////////////////////////////////////////////////////////
76- CanvasSDLGPU (const char * typeName = StaticWidgetType, bool initRenderer = true );
76+ explicit CanvasSDLGPU (const char * typeName = StaticWidgetType, bool initRenderer = true );
7777
7878 // //////////////////////////////////////////////////////////////////////////////////////////////////////////////
7979 // / @brief Copy constructor
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ namespace tgui
7777 // / @param initRenderer Should the renderer be initialized? Should be true unless a derived class initializes it.
7878 // / @see create
7979 // //////////////////////////////////////////////////////////////////////////////////////////////////////////////
80- CanvasSDL (const char * typeName = StaticWidgetType, bool initRenderer = true );
80+ explicit CanvasSDL (const char * typeName = StaticWidgetType, bool initRenderer = true );
8181
8282 // //////////////////////////////////////////////////////////////////////////////////////////////////////////////
8383 // / @brief Copy constructor
You can’t perform that action at this time.
0 commit comments