summaryrefslogtreecommitdiffstats
path: root/ganv
diff options
context:
space:
mode:
Diffstat (limited to 'ganv')
-rw-r--r--ganv/Edge.hpp2
-rw-r--r--ganv/Item.hpp2
-rw-r--r--ganv/Module.hpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/ganv/Edge.hpp b/ganv/Edge.hpp
index 3dd08f3..71a2ed3 100644
--- a/ganv/Edge.hpp
+++ b/ganv/Edge.hpp
@@ -55,7 +55,7 @@ public:
nullptr)))
{}
- Edge(GanvEdge* gobj)
+ explicit Edge(GanvEdge* gobj)
: Item(GANV_ITEM(gobj))
{}
diff --git a/ganv/Item.hpp b/ganv/Item.hpp
index 1dfe4eb..e6b690c 100644
--- a/ganv/Item.hpp
+++ b/ganv/Item.hpp
@@ -36,7 +36,7 @@ namespace Ganv {
*/
class Item : public sigc::trackable {
public:
- Item(GanvItem* gobj)
+ explicit Item(GanvItem* gobj)
: _gobj(gobj)
{
ganv_item_set_wrapper(gobj, this);
diff --git a/ganv/Module.hpp b/ganv/Module.hpp
index 343b815..cfe9407 100644
--- a/ganv/Module.hpp
+++ b/ganv/Module.hpp
@@ -70,7 +70,7 @@ public:
public:
iterator_base(GanvModule* m, guint i) : _module(m), _index(i) {}
template<typename T, typename U>
- iterator_base(const iterator_base<T, U>& i)
+ explicit iterator_base(const iterator_base<T, U>& i)
: _module(i._module)
, _index(i._index)
{}