How to use private inheritance for uobject

I want to hide parent’s public functions.
so I used private inheritance.
but compiler print error message that Missing ‘public’ in Class declaration.

How to solve this problem??
(I don’t want to use public inheritance T_T)

136260-private_inheritance.png

Can’t; Unreal is built with composition in mind, UBT will force public inheritance on UObjects.

Thanks for your answer.