disk_archive: Make DiskDirectory's constructor explicit

Prevents implicit conversions/construction.
This commit is contained in:
Lioncash 2018-03-28 19:43:03 -04:00
parent 07855c48d1
commit 0e7ca706dc

View File

@ -46,7 +46,7 @@ protected:
class DiskDirectory : public DirectoryBackend {
public:
DiskDirectory(const std::string& path);
explicit DiskDirectory(const std::string& path);
~DiskDirectory() override {
Close();