diff options
-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 |