Ah, but why have you added constructor/destructor -> they are empty and not needed here. I don't see any class that is derived from PermissionsInfo so why, do we need a virtual destructor?