@@ -126,13 +126,17 @@ void generate_project(const std::string &type) {
126126
127127struct CommandEndl {
128128 std::stringstream &ss;
129- CommandEndl (std::stringstream &ss) : ss(ss) {}
130- void endl () { ss << ' \n ' ; }
129+ CommandEndl (std::stringstream &ss) : ss(ss) {
130+ }
131+ void endl () {
132+ ss << ' \n ' ;
133+ }
131134};
132135
133136struct RawArg {
134137 RawArg () = default ;
135- RawArg (std::string arg) : arg(std::move(arg)) {}
138+ RawArg (std::string arg) : arg(std::move(arg)) {
139+ }
136140
137141 std::string arg;
138142};
@@ -148,7 +152,8 @@ struct Command {
148152 std::string post_comment;
149153
150154 Command (std::stringstream &ss, int depth, std::string command, std::string post_comment)
151- : ss(ss), depth(depth), command(std::move(command)), post_comment(std::move(post_comment)) {}
155+ : ss(ss), depth(depth), command(std::move(command)), post_comment(std::move(post_comment)) {
156+ }
152157
153158 ~Command () noexcept (false ) {
154159 if (!generated) {
@@ -317,7 +322,8 @@ static std::string tolf(const std::string &str) {
317322};
318323
319324struct Generator {
320- Generator (const parser::Project &project) : project(project) {}
325+ Generator (const parser::Project &project) : project(project) {
326+ }
321327 Generator (const Generator &) = delete ;
322328
323329 const parser::Project &project;
@@ -343,7 +349,9 @@ struct Generator {
343349 return CommandEndl (ss);
344350 }
345351
346- void endl () { ss << ' \n ' ; }
352+ void endl () {
353+ ss << ' \n ' ;
354+ }
347355
348356 void inject_includes (const std::vector<std::string> &includes) {
349357 if (!includes.empty ()) {
0 commit comments