diff --git a/memory/buffer/circular.hpp b/memory/buffer/circular.hpp index f58f3fe9..e853bfaf 100644 --- a/memory/buffer/circular.hpp +++ b/memory/buffer/circular.hpp @@ -27,7 +27,7 @@ namespace util { namespace memory { namespace buffer { public: using value_type = char; - circular (size_t bytes); + explicit circular (size_t bytes); ~circular (); circular (const circular&) = delete; diff --git a/pool.hpp b/pool.hpp index dbe3a460..cd601c7e 100644 --- a/pool.hpp +++ b/pool.hpp @@ -41,7 +41,9 @@ namespace util { size_t m_size; public: + explicit pool (unsigned int _capacity); + ~pool (); // Data management diff --git a/posix/dir.hpp b/posix/dir.hpp index ad9ce548..4415124e 100644 --- a/posix/dir.hpp +++ b/posix/dir.hpp @@ -46,7 +46,7 @@ namespace util { namespace posix { struct dir { public: - dir (const char *path); + explicit dir (const char *path); ~dir (); operator DIR* (void);