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:
@@ -27,7 +27,7 @@ class ToolExtract final : public ToolBase {
|
||||
hecl::Database::Project* m_useProj = nullptr;
|
||||
|
||||
public:
|
||||
ToolExtract(const ToolPassInfo& info) : ToolBase(info) {
|
||||
explicit ToolExtract(const ToolPassInfo& info) : ToolBase(info) {
|
||||
if (!m_info.args.size())
|
||||
LogModule.report(logvisor::Fatal, fmt("hecl extract needs a source path as its first argument"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user