mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-27 12:04:16 +01:00
disk_archive: Make DiskDirectory's constructor explicit
Prevents implicit conversions/construction.
This commit is contained in:
parent
07855c48d1
commit
0e7ca706dc
@ -46,7 +46,7 @@ protected:
|
|||||||
|
|
||||||
class DiskDirectory : public DirectoryBackend {
|
class DiskDirectory : public DirectoryBackend {
|
||||||
public:
|
public:
|
||||||
DiskDirectory(const std::string& path);
|
explicit DiskDirectory(const std::string& path);
|
||||||
|
|
||||||
~DiskDirectory() override {
|
~DiskDirectory() override {
|
||||||
Close();
|
Close();
|
||||||
|
Loading…
Reference in New Issue
Block a user