Delete the default constructor in Target.hpp and always initialize output
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
db0ada09f6
commit
ca3b030fed
|
@ -144,7 +144,8 @@ public:
|
||||||
separate_transpileTree(tree);
|
separate_transpileTree(tree);
|
||||||
return output.str() + '\n';
|
return output.str() + '\n';
|
||||||
};
|
};
|
||||||
explicit Target(const bool& newLines): newLines(newLines), separator() {};
|
explicit Target(const bool& newLines): output(), newLines(newLines), separator() {};
|
||||||
|
Target() = delete;
|
||||||
virtual ~Target() = default;
|
virtual ~Target() = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue