Refactoring: Made CheckClass members private
This commit is contained in:
parent
e7e86ef333
commit
9e7b087832
|
@ -105,7 +105,13 @@ public:
|
|||
/** @brief can member function be const? */
|
||||
void checkConst();
|
||||
|
||||
public:
|
||||
/**
|
||||
* @brief Access control. This needs to be public, otherwise it
|
||||
* doesn't work to compile with Borland C++
|
||||
*/
|
||||
enum AccessControl { Public, Protected, Private };
|
||||
|
||||
private:
|
||||
/** @brief Information about a member variable. Used when checking for uninitialized variables */
|
||||
class Var
|
||||
{
|
||||
|
@ -146,8 +152,6 @@ public:
|
|||
Var& operator=(const Var&); // disallow assignments
|
||||
};
|
||||
|
||||
enum AccessControl { Public, Protected, Private };
|
||||
|
||||
struct Func
|
||||
{
|
||||
enum Type { Constructor, CopyConstructor, OperatorEqual, Destructor, Function };
|
||||
|
|
Loading…
Reference in New Issue