From aee2b6dd74029de8fed34be5095eda8c689ac3dd Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 20 Jul 2006 19:29:07 +0000 Subject: [PATCH] Made 'string' constructor explicit to avoid misuse. --- vmime/utility/path.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmime/utility/path.hpp b/vmime/utility/path.hpp index da0dc020..8c66367e 100644 --- a/vmime/utility/path.hpp +++ b/vmime/utility/path.hpp @@ -49,7 +49,7 @@ public: path(); path(const component& c); path(const path& p); - path(const string& s); + explicit path(const string& s); // Append a component to a path path operator/(const path& p) const;