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:
committed by
Ted John
parent
7aeb3e11b3
commit
4d0c88fb94
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user