mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 19:44:55 +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 ToolHelp final : public ToolBase {
|
||||
|
||||
public:
|
||||
ToolHelp(const ToolPassInfo& info) : ToolBase(info) {
|
||||
explicit ToolHelp(const ToolPassInfo& info) : ToolBase(info) {
|
||||
if (m_info.args.empty()) {
|
||||
LogModule.report(logvisor::Error, fmt("help requires a tool name argument"));
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user