diff options
| -rw-r--r-- | platypus/platypus.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platypus/platypus.h b/platypus/platypus.h index 7f3e9a8..435d11e 100644 --- a/platypus/platypus.h +++ b/platypus/platypus.h @@ -39,8 +39,8 @@ public: * @authors Ricky and Zoltan */ Platypus(float _weight, short _age, std::string _name, std::string _gender) - : weight(_weight), age(_age), alive(true), mutant(false), - name(std::move(_name)), gender(std::move(_gender)) { + : name(std::move(_name)), gender(std::move(_gender)), weight(_weight), + age(_age), alive(true), mutant(false) { srand(static_cast<unsigned int>(time(nullptr))); rand(); } // constructor that you can pass values to so as to |