library: make path constructors explicit

This commit is contained in:
Danny Robson 2015-09-21 15:41:02 +10:00
parent 5c72953653
commit 7092e45d7a

View File

@ -23,8 +23,8 @@ namespace util {
namespace detail {
class library_posix {
public:
library_posix (const char *path);
library_posix (const std::string &path);
explicit library_posix (const char *path);
explicit library_posix (const std::string &path);
library_posix (library_posix&&);
~library_posix ();