Made 'string' constructor explicit to avoid misuse.

This commit is contained in:
Vincent Richard 2006-07-20 19:29:07 +00:00
parent 27840a441d
commit aee2b6dd74

View File

@ -49,7 +49,7 @@ public:
path(); path();
path(const component& c); path(const component& c);
path(const path& p); path(const path& p);
path(const string& s); explicit path(const string& s);
// Append a component to a path // Append a component to a path
path operator/(const path& p) const; path operator/(const path& p) const;