diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-02-10 10:54:35 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:13:53 -0300 |
commit | f1066cac214bba3f42482c17555be4a584e73ed3 (patch) | |
tree | 0d733186d5177868353aadbdb2fdaa2009bb1330 | |
parent | e9fe87697f53deec9e4bba22599b6992f16d6f0d (diff) |
Marked ObjectType and ObjectModel, from the sample test lib, as explicit.
-rw-r--r-- | tests/libsample/objectmodel.h | 2 | ||||
-rw-r--r-- | tests/libsample/objecttype.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/libsample/objectmodel.h b/tests/libsample/objectmodel.h index b226b1f92..8c5dff729 100644 --- a/tests/libsample/objectmodel.h +++ b/tests/libsample/objectmodel.h @@ -29,7 +29,7 @@ class LIBSAMPLE_API ObjectModel : public ObjectType { public: - ObjectModel(ObjectType* parent = 0) + explicit ObjectModel(ObjectType* parent = 0) : ObjectType(parent), m_data(0) {} diff --git a/tests/libsample/objecttype.h b/tests/libsample/objecttype.h index 1eeb4c606..a5abf7067 100644 --- a/tests/libsample/objecttype.h +++ b/tests/libsample/objecttype.h @@ -51,7 +51,7 @@ class LIBSAMPLE_API ObjectType { public: - ObjectType(ObjectType* parent = 0); + explicit ObjectType(ObjectType* parent = 0); virtual ~ObjectType(); // factory method |