aboutsummaryrefslogtreecommitdiff
path: root/cpp04/ex00/Peon.hpp
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-11-12 15:46:07 +0100
committerCharles Cabergs <me@cacharle.xyz>2020-11-12 15:46:07 +0100
commitb8e39b947890e74d82530e25ad9d02668aae1f0c (patch)
treef59acfdecb0711137c200a4c5acb854e351f9cf9 /cpp04/ex00/Peon.hpp
parent96dcf214a8c40529b251ea31ef037868583dd1da (diff)
downloadpiscine_cpp-b8e39b947890e74d82530e25ad9d02668aae1f0c.tar.gz
piscine_cpp-b8e39b947890e74d82530e25ad9d02668aae1f0c.tar.bz2
piscine_cpp-b8e39b947890e74d82530e25ad9d02668aae1f0c.zip
Reformating cpp04 classes
Diffstat (limited to 'cpp04/ex00/Peon.hpp')
-rw-r--r--cpp04/ex00/Peon.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp04/ex00/Peon.hpp b/cpp04/ex00/Peon.hpp
index 2d57a05..0f50207 100644
--- a/cpp04/ex00/Peon.hpp
+++ b/cpp04/ex00/Peon.hpp
@@ -6,7 +6,7 @@
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/13 20:50:54 by charles #+# #+# */
-/* Updated: 2020/04/13 20:57:37 by charles ### ########.fr */
+/* Updated: 2020/11/12 13:00:49 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -20,8 +20,8 @@
class Peon : public Victim
{
public:
- Peon(std::string name);
- void operator=(Peon const& other);
+ Peon(std::string const& name);
+ Peon& operator=(Peon const& other);
Peon(Peon const& other);
~Peon();