summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/display/curve.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/display/curve.h b/src/display/curve.h
index 6697987ca..b2b1559af 100644
--- a/src/display/curve.h
+++ b/src/display/curve.h
@@ -31,8 +31,8 @@ struct SPObject;
class SPCurve {
public:
/* Constructors */
- SPCurve(guint length = SP_CURVE_LENSTEP);
- SPCurve(Geom::PathVector const& pathv);
+ explicit SPCurve(guint length = SP_CURVE_LENSTEP);
+ explicit SPCurve(Geom::PathVector const& pathv);
static SPCurve * new_from_bpath(NArtBpath *bpath);
static SPCurve * new_from_foreign_bpath(NArtBpath const *bpath);
static SPCurve * new_from_rect(Geom::Rect const &rect);