summaryrefslogtreecommitdiff
path: root/src/object.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-06-02 10:28:16 +0100
committerCarl Hetherington <cth@carlh.net>2016-06-02 10:28:16 +0100
commit5591a50b918d2dc784a9e15688dfe24eb2b6dfcc (patch)
tree0cc8e92c88326bd023440956a839f72979322071 /src/object.h
parent68fa6e44a938d963129db758c25af8e843771a85 (diff)
Add some explicit declarations to constructors.
Diffstat (limited to 'src/object.h')
-rw-r--r--src/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object.h b/src/object.h
index ff493534..5c5bbc0e 100644
--- a/src/object.h
+++ b/src/object.h
@@ -39,7 +39,7 @@ class Object : public boost::noncopyable
{
public:
Object ();
- Object (std::string id);
+ explicit Object (std::string id);
virtual ~Object () {}
/** @return ID */