summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-05-24 21:04:24 -0700
committerFuwn <[email protected]>2022-05-24 21:04:24 -0700
commit2140c31b33ecca8fd55730cb640d8f39a558515a (patch)
tree7eb5b9c0bf556983422e98ad4c53d9c044d98a8e
parentchore(scripts): move format task to ninja (diff)
downloadwk7_platypusproject-2140c31b33ecca8fd55730cb640d8f39a558515a.tar.xz
wk7_platypusproject-2140c31b33ecca8fd55730cb640d8f39a558515a.zip
format(platypus): grammar
-rw-r--r--platypus/platypus.cpp2
-rw-r--r--platypus/testPlatypus.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/platypus/platypus.cpp b/platypus/platypus.cpp
index 5dcc66a..0c8f834 100644
--- a/platypus/platypus.cpp
+++ b/platypus/platypus.cpp
@@ -88,7 +88,7 @@ Platypus Platypus::hatch() const {
std::ifstream namesFile;
std::vector<std::string> names;
- // If the platypus is is male, pick a random male name; ...
+ // If the platypus is male, pick a random male name; ...
if (newGender) {
namesFile.open("mnames.txt");
} else {
diff --git a/platypus/testPlatypus.cpp b/platypus/testPlatypus.cpp
index 7085545..f5bed83 100644
--- a/platypus/testPlatypus.cpp
+++ b/platypus/testPlatypus.cpp
@@ -41,7 +41,6 @@ int main() {
p1.eat();
cout << "Platypus #1 weight after eating: " << p1.getWeight() << endl;
-
cout << "\nPlatypus #1 before aging: " << p1.getAge()
<< ", old mutant status: " << p1.getMutant()
<< ", old alive status: " << p1.getAlive() << endl;