mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update version pragma and use new constructor syntax in std/ contracts.
This commit is contained in:
committed by
Alex Beregszaszi
parent
c98464db06
commit
f855c78a08
+2
-2
@@ -1,4 +1,4 @@
|
||||
pragma solidity ^0.4.0;
|
||||
pragma solidity >0.4.21;
|
||||
|
||||
contract owned {
|
||||
address owner;
|
||||
@@ -9,7 +9,7 @@ contract owned {
|
||||
}
|
||||
}
|
||||
|
||||
function owned() public {
|
||||
constructor() public {
|
||||
owner = msg.sender;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user