aboutsummaryrefslogtreecommitdiffstats
path: root/test/compilationTests/zeppelin/DayLimit.sol
diff options
context:
space:
mode:
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();
}