summaryrefslogtreecommitdiffstats
path: root/tools/designer/src/lib/shared/connectionedit_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer/src/lib/shared/connectionedit_p.h')
-rw-r--r--tools/designer/src/lib/shared/connectionedit_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/designer/src/lib/shared/connectionedit_p.h b/tools/designer/src/lib/shared/connectionedit_p.h
index 4f0148d..37dfe75 100644
--- a/tools/designer/src/lib/shared/connectionedit_p.h
+++ b/tools/designer/src/lib/shared/connectionedit_p.h
@@ -87,7 +87,7 @@ public:
class EndPoint {
public:
enum Type { Source, Target };
- EndPoint(Connection *_con = 0, Type _type = Source) : con(_con), type(_type) {}
+ explicit EndPoint(Connection *_con = 0, Type _type = Source) : con(_con), type(_type) {}
bool isNull() const { return con == 0; }
bool operator == (const EndPoint &other) const { return con == other.con && type == other.type; }
bool operator != (const EndPoint &other) const { return !operator == (other); }