make constructors internal of abstract contracts

This commit is contained in:
Ricardo Guilherme Schmidt 2018-05-07 23:38:54 -03:00
parent 9067b7a21c
commit 7b79862005
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ contract Controlled {
address public controller; address public controller;
constructor() public { constructor() internal {
controller = msg.sender; controller = msg.sender;
} }

View File

@ -14,7 +14,7 @@ contract Owned {
address public owner; address public owner;
/// @notice The Constructor assigns the message sender to be `owner` /// @notice The Constructor assigns the message sender to be `owner`
constructor() public { constructor() internal {
owner = msg.sender; owner = msg.sender;
} }