2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 19:04:56 +00:00

driver: Make tool constructors explicit

Enforces being explicit when constructing instances of these types.
This commit is contained in:
Lioncash
2019-08-19 22:49:24 -04:00
parent 11364cbd53
commit f746b30b03
8 changed files with 9 additions and 9 deletions

View File

@@ -8,7 +8,7 @@ class ToolSpec final : public ToolBase {
enum Mode { MLIST = 0, MENABLE, MDISABLE } mode = MLIST;
public:
ToolSpec(const ToolPassInfo& info) : ToolBase(info) {
explicit ToolSpec(const ToolPassInfo& info) : ToolBase(info) {
if (info.args.empty())
return;