Replace m_name with call to virtual getName
authorLukas Jiriste <ljiriste@student.42prague.com>
Thu, 24 Oct 2024 10:37:11 +0000 (12:37 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Thu, 24 Oct 2024 10:37:11 +0000 (12:37 +0200)
commit80f1f39c2a548d456961da5962744194c7d27929
tree571f3953d2b425778769fb583b5340e5da88b81b
parentd5b3dfc3908400dff0bdad4b1daa2a384aa0f24c
Replace m_name with call to virtual getName

This ensures that methods of inherited classes use the correct name.
ex03/ClapTrap.cpp
ex03/ClapTrap.h
ex03/DiamondTrap.cpp
ex03/DiamondTrap.h
ex03/FragTrap.cpp
ex03/ScavTrap.cpp