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:
Username404 2022-03-22 15:59:30 +01:00
parent db0ada09f6
commit ca3b030fed
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 2 additions and 1 deletions

View File

@ -144,7 +144,8 @@ public:
separate_transpileTree(tree);
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;
};