Skip to content

Commit

Permalink
docs: added EOF to the new .cpp files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaskowicz1 committed Oct 21, 2023
1 parent 07fd77f commit 022ec5d
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docpages/example_code/coding_style_standards/comments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ int main() {
* Because why not. That's why.
*/
std::cout << name_to_meme("Brain") << "\n";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ void foo() {
d();
break;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ stuff{}
.add_stuff()
.add_stuff();

event.reply("This reply function isn't indented!");
event.reply("This reply function isn't indented!");
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ my_new_class& my_new_class::set_hats(int new_hats) {
my_new_class& my_new_class::set_clowns(int new_clowns) {
clowns = new_clowns;
return *this;
}
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
dpp::my_new_class nc;
nc.set_hats(3).set_clowns(9001);
nc.set_hats(3).set_clowns(9001);
2 changes: 1 addition & 1 deletion docpages/example_code/coding_style_standards/lists.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
std::vector<std::string> clowns = { "pennywise", "bobo" };

evaluate_clown(clowns[0], evilness(2.5, factor));
evaluate_clown(clowns[0], evilness(2.5, factor));
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ class DPP_EXPORT my_new_class {
public:
int hats;
int clowns;
};
};

0 comments on commit 022ec5d

Please sign in to comment.