Add a leading underscore to internal and private functions. (#1257)
* Add a leading underscore to internal and private functions. Fixes #1176 * Remove super * update the ERC721 changes * add missing underscore after merge * Fix mock
This commit is contained in:
committed by
Francisco Giordano
parent
fbfd1fed45
commit
b0f20d43df
@ -37,7 +37,7 @@ contract RBACWithAdmin is RBAC {
|
||||
constructor()
|
||||
public
|
||||
{
|
||||
addRole(msg.sender, ROLE_ADMIN);
|
||||
_addRole(msg.sender, ROLE_ADMIN);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -49,7 +49,7 @@ contract RBACWithAdmin is RBAC {
|
||||
public
|
||||
onlyAdmin
|
||||
{
|
||||
addRole(_account, _roleName);
|
||||
_addRole(_account, _roleName);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -61,6 +61,6 @@ contract RBACWithAdmin is RBAC {
|
||||
public
|
||||
onlyAdmin
|
||||
{
|
||||
removeRole(_account, _roleName);
|
||||
_removeRole(_account, _roleName);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user