1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00

Mark constructors explicit (#6928)

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

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)
{