We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55af5ec commit 3c4878cCopy full SHA for 3c4878c
1 file changed
concepts/headers/introduction.md
@@ -73,10 +73,12 @@ namespace robots {
73
// A file named robot_flower.cpp
74
#include "robot_flower.h"
75
robots::Flower::Flower(std::string name, int size) {
76
- this->name = "Robotica " + name; this->size = size;
+ this->name = "Robotica " + name;
77
+ this->size = size;
78
}
79
void robots::Flower::start_next_day() {
- if (!needs_water) ++size; needs_water = true;
80
+ if (!needs_water) ++size;
81
+ needs_water = true;
82
83
std::string robots::Flower::get_name() {
84
return name;
0 commit comments