From 7bc3e5ca81642996fae52e4d8ca6add67b994eaf Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 15 Dec 2020 18:55:03 +0100 Subject: Use explicit conversions --- src/Canvas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Canvas.cpp b/src/Canvas.cpp index 6239bed..92258bd 100644 --- a/src/Canvas.cpp +++ b/src/Canvas.cpp @@ -219,7 +219,7 @@ panic_root_destroyed(GtkObject* object, gpointer data) } struct GanvCanvasImpl { - GanvCanvasImpl(GanvCanvas* canvas) + explicit GanvCanvasImpl(GanvCanvas* canvas) : _gcanvas(canvas) , _wrapper(NULL) , _connect_port(NULL) -- cgit v1.2.1