mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 02:27:43 +00:00
driver: Make tool constructors explicit
Enforces being explicit when constructing instances of these types.
This commit is contained in:
@@ -7,7 +7,7 @@ class ToolInit final : public ToolBase {
|
||||
const hecl::SystemString* m_dir = NULL;
|
||||
|
||||
public:
|
||||
ToolInit(const ToolPassInfo& info) : ToolBase(info) {
|
||||
explicit ToolInit(const ToolPassInfo& info) : ToolBase(info) {
|
||||
hecl::Sstat theStat;
|
||||
const hecl::SystemString* dir;
|
||||
if (info.args.size())
|
||||
|
||||
Reference in New Issue
Block a user