E2009 Attempt to grant or reduce access to 'identifier' (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

A C++ derived class can modify the access rights of a base class member, but only by restoring it to the rights in the base class.

It cannot add or reduce access rights.