diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-11-13 14:43:17 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-11-13 14:43:17 +0100 |
| commit | 4c30e98f4a4018a25d3a9f3ee790d589be803cb0 (patch) | |
| tree | 655a4bd52a7a6633a32782eab935fb01a47040e9 /cpp04/ex02/Squad.hpp | |
| parent | b8e39b947890e74d82530e25ad9d02668aae1f0c (diff) | |
| download | piscine_cpp-4c30e98f4a4018a25d3a9f3ee790d589be803cb0.tar.gz piscine_cpp-4c30e98f4a4018a25d3a9f3ee790d589be803cb0.tar.bz2 piscine_cpp-4c30e98f4a4018a25d3a9f3ee790d589be803cb0.zip | |
Added main for cpp04/ex01 and cpp04/ex02, Fixed cpp04/03 MateriaSource
Diffstat (limited to 'cpp04/ex02/Squad.hpp')
| -rw-r--r-- | cpp04/ex02/Squad.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp04/ex02/Squad.hpp b/cpp04/ex02/Squad.hpp index 9ea5268..48e53cd 100644 --- a/cpp04/ex02/Squad.hpp +++ b/cpp04/ex02/Squad.hpp @@ -6,7 +6,7 @@ /* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/14 15:07:57 by charles #+# #+# */ -/* Updated: 2020/11/12 15:39:26 by cacharle ### ########.fr */ +/* Updated: 2020/11/13 12:06:51 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -25,15 +25,15 @@ public: Squad& operator=(Squad const& other); virtual ~Squad(); - virtual int getCount() const; - virtual ISpaceMarine* getUnit(int n) const; - virtual int push(ISpaceMarine* spaceMarine); + virtual int getCount() const; + virtual ISpaceMarine* getUnit(int n) const; + virtual int push(ISpaceMarine* spaceMarine); private: void destroyUnits(); ISpaceMarine** m_units; - int m_size; + int m_size; }; #endif |
