diff options
author | Erik Kundt <bitshift@posteo.org> | 2018-06-25 21:02:20 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-06-26 06:00:32 +0800 |
commit | 95c3488a26bf5c20b242a7358d0dd04948b326f2 (patch) | |
tree | 993783b500555fb1b5dcb4d3f7ae2331fdec96ce /test/compilationTests/zeppelin/lifecycle | |
parent | 3b1741909c7472b892695260b0b8c59a53c2183e (diff) | |
download | dexon-solidity-95c3488a26bf5c20b242a7358d0dd04948b326f2.tar dexon-solidity-95c3488a26bf5c20b242a7358d0dd04948b326f2.tar.gz dexon-solidity-95c3488a26bf5c20b242a7358d0dd04948b326f2.tar.bz2 dexon-solidity-95c3488a26bf5c20b242a7358d0dd04948b326f2.tar.lz dexon-solidity-95c3488a26bf5c20b242a7358d0dd04948b326f2.tar.xz dexon-solidity-95c3488a26bf5c20b242a7358d0dd04948b326f2.tar.zst dexon-solidity-95c3488a26bf5c20b242a7358d0dd04948b326f2.zip |
Updates external contracts to new constructor syntax.
Diffstat (limited to 'test/compilationTests/zeppelin/lifecycle')
-rw-r--r-- | test/compilationTests/zeppelin/lifecycle/Destructible.sol | 2 | ||||
-rw-r--r-- | test/compilationTests/zeppelin/lifecycle/TokenDestructible.sol | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/compilationTests/zeppelin/lifecycle/Destructible.sol b/test/compilationTests/zeppelin/lifecycle/Destructible.sol index 3561e3b7..00492590 100644 --- a/test/compilationTests/zeppelin/lifecycle/Destructible.sol +++ b/test/compilationTests/zeppelin/lifecycle/Destructible.sol @@ -10,7 +10,7 @@ import "../ownership/Ownable.sol"; */ contract Destructible is Ownable { - function Destructible() payable { } + constructor() payable { } /** * @dev Transfers the current balance to the owner and terminates the contract. diff --git a/test/compilationTests/zeppelin/lifecycle/TokenDestructible.sol b/test/compilationTests/zeppelin/lifecycle/TokenDestructible.sol index fe0b46b6..f88a55aa 100644 --- a/test/compilationTests/zeppelin/lifecycle/TokenDestructible.sol +++ b/test/compilationTests/zeppelin/lifecycle/TokenDestructible.sol @@ -12,7 +12,7 @@ import "../token/ERC20Basic.sol"; */ contract TokenDestructible is Ownable { - function TokenDestructible() payable { } + constructor() payable { } /** * @notice Terminate contract and refund to owner |