I think you want to write
__super::
instead of
Super
.
If you only call the base class with no change to any parameters and do nothing else then it is not necessary to implement the derived method.
-edit-
In lieu of
__super
, in fact this is what I did before
__super
existed, you can define a type for the base class. Something like this :
using AMyPawn_Base = PawnBaseClass;
and then you can declare your class like this :
class AMyPawn : public AMyPawn_Base
{
public:
AMyPawn() : AMyPawn_Base()
{
}
void BeginPlay()
{
AMyPawn_Base::BeginPlay();
}
};
This should work with any c++ compiler that supports using. I would do this because if I ever decided to change the base of a given class it is done in only one place instead of potentially dozens.