aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/zeppelin/DayLimit.sol
diff options
context:
space:
mode:
authorErik Kundt <bitshift@posteo.org>2018-06-25 21:02:20 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-06-26 06:00:32 +0800
commit95c3488a26bf5c20b242a7358d0dd04948b326f2 (patch)
tree993783b500555fb1b5dcb4d3f7ae2331fdec96ce /test/compilationTests/zeppelin/DayLimit.sol
parent3b1741909c7472b892695260b0b8c59a53c2183e (diff)
downloaddexon-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/DayLimit.sol')
-rw-r--r--test/compilationTests/zeppelin/DayLimit.sol2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compilationTests/zeppelin/DayLimit.sol b/test/compilationTests/zeppelin/DayLimit.sol
index 3c8d5b0c..0bcb341a 100644
--- a/test/compilationTests/zeppelin/DayLimit.sol
+++ b/test/compilationTests/zeppelin/DayLimit.sol
@@ -15,7 +15,7 @@ contract DayLimit {
* @dev Constructor that sets the passed value as a dailyLimit.
* @param _limit uint256 to represent the daily limit.
*/
- function DayLimit(uint256 _limit) {
+ constructor(uint256 _limit) {
dailyLimit = _limit;
lastDay = today();
}