summaryrefslogtreecommitdiff
path: root/src/lib/types.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-02-27 15:34:45 +0000
committerCarl Hetherington <cth@carlh.net>2018-02-27 15:34:45 +0000
commitc6871fe8617b3de03662b7630355059393bf8043 (patch)
treeef4aeaa8a6556d1afe033b962d0e8a7c615afc05 /src/lib/types.h
parent334e250896a5dcbb64db96df8e20821ffc75b146 (diff)
Add a load of explicit keywords.
Diffstat (limited to 'src/lib/types.h')
-rw-r--r--src/lib/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/types.h b/src/lib/types.h
index 8f99b8881..ed3746f45 100644
--- a/src/lib/types.h
+++ b/src/lib/types.h
@@ -134,7 +134,7 @@ struct Crop
{
Crop () : left (0), right (0), top (0), bottom (0) {}
Crop (int l, int r, int t, int b) : left (l), right (r), top (t), bottom (b) {}
- Crop (boost::shared_ptr<cxml::Node>);
+ explicit Crop (boost::shared_ptr<cxml::Node>);
/** Number of pixels to remove from the left-hand side */
int left;