Hi, I’m getting this error with the PURE_VIRTUAL Macro.
I declared this FireWeapon() Pure Virtual function in SWeapon.h and called it defined/implemented it in SWeaponInstance.cpp which is derived from SWeapon class. But at the time of calling it from SWeapon.cpp, it’s throwing an error - “Pure Virtual Not Implemented (ASWeapon::FireWeapon)”
I can’t figure out why its showing this even though I implemented it in SWeaponInstance.cpp
SWeapon.h –
virtual void FireWeapon() PURE_VIRTUAL(ASWeapon::FireWeapon, );
SWeaponInstance.h – virtual void FireWeapon() override;