1
0

🔨」 fix(Violence): Red the subject

This commit is contained in:
2024-11-09 18:48:58 +01:00
parent fdd15639f0
commit daf3aa6c7d
4 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */ /* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/04 19:41:23 by adjoly #+# #+# */ /* Created: 2024/11/04 19:41:23 by adjoly #+# #+# */
/* Updated: 2024/11/05 17:50:39 by adjoly ### ########.fr */ /* Updated: 2024/11/09 18:47:57 by adjoly ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */

View File

@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */ /* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/04 19:43:18 by adjoly #+# #+# */ /* Created: 2024/11/04 19:43:18 by adjoly #+# #+# */
/* Updated: 2024/11/05 17:54:52 by adjoly ### ########.fr */ /* Updated: 2024/11/09 18:48:06 by adjoly ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */

View File

@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */ /* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/04 19:23:35 by adjoly #+# #+# */ /* Created: 2024/11/04 19:23:35 by adjoly #+# #+# */
/* Updated: 2024/11/05 17:57:08 by adjoly ### ########.fr */ /* Updated: 2024/11/09 18:46:35 by adjoly ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -16,7 +16,7 @@ void Weapon::setType(std::string newType) {
this->_type = newType; this->_type = newType;
} }
std::string Weapon::getType(void) { const std::string &Weapon::getType(void) {
return (this->_type); return (this->_type);
} }

View File

@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */ /* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/04 19:21:24 by adjoly #+# #+# */ /* Created: 2024/11/04 19:21:24 by adjoly #+# #+# */
/* Updated: 2024/11/05 17:56:50 by adjoly ### ########.fr */ /* Updated: 2024/11/09 18:46:33 by adjoly ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -19,7 +19,7 @@ class Weapon {
std::string _type; std::string _type;
public: public:
std::string getType(void); const std::string &getType(void);
void setType(std::string newType); void setType(std::string newType);
Weapon(std::string type); Weapon(std::string type);