Mark constructors explicit (#6928)

This commit is contained in:
Michał Janiszewski authored and Ted John committed 2018-01-04 01:12:34 +00:00
1 parent 7aeb3e11b3
commit 4d0c88fb94
7 files changed
+9 -9

No files matched your search

+2 -2
View File
@@ -83,7 +83,7 @@ private:
static constexpr auto PATTERN = "*.dat;*.pob";
public:
ObjectFileIndex(IPlatformEnvironment * env) :
explicit ObjectFileIndex(IPlatformEnvironment * env) :
FileIndex("object index",
MAGIC_NUMBER,
VERSION,
@@ -195,7 +195,7 @@ class ObjectRepository final : public IObjectRepository
ObjectEntryMap _itemMap;
public:
ObjectRepository(IPlatformEnvironment * env)
explicit ObjectRepository(IPlatformEnvironment * env)
: _env(env),
_fileIndex(env)
{