From 692b624398a3b9fbb560f47e13b588a92479a68d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 30 Sep 2010 08:23:42 +0000 Subject: Declare single-argument constructors explicit (except where implicit conversion is actually desired). See http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Explicit_Constructors git-svn-id: http://svn.drobilla.net/lad/trunk/raul@2619 a436a847-0d15-0410-975c-d299462d15a1 --- raul/SMFReader.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'raul/SMFReader.hpp') diff --git a/raul/SMFReader.hpp b/raul/SMFReader.hpp index a96c6aa..1e1b5e8 100644 --- a/raul/SMFReader.hpp +++ b/raul/SMFReader.hpp @@ -42,7 +42,7 @@ public: const char* what() const throw() { return "Unsupported time stamp type (SMPTE)"; } }; - SMFReader(const std::string filename=""); + explicit SMFReader(const std::string filename=""); ~SMFReader(); bool open(const std::string& filename) throw (std::logic_error, UnsupportedTime); -- cgit v1.2.1