Inherited member is not allowed

Can you show declaration of that function in header file?