From f1066cac214bba3f42482c17555be4a584e73ed3 Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Thu, 10 Feb 2011 10:54:35 -0300 Subject: Marked ObjectType and ObjectModel, from the sample test lib, as explicit. --- tests/libsample/objectmodel.h | 2 +- tests/libsample/objecttype.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3