aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/contracts.rst4
-rw-r--r--std/StandardToken.sol2
-rw-r--r--std/owned.sol2
3 files changed, 4 insertions, 4 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index 0dd9845c..6798444c 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -40,7 +40,7 @@ This means that cyclic creation dependencies are impossible.
::
- pragma solidity >0.4.21;
+ pragma solidity ^0.4.22;
contract OwnedToken {
// TokenCreator is a contract type that is defined below.
@@ -983,7 +983,7 @@ default constructor: ``contructor() public {}``.
::
- pragma solidity >0.4.21;
+ pragma solidity ^0.4.22;
contract A {
uint public a;
diff --git a/std/StandardToken.sol b/std/StandardToken.sol
index 5afc9747..ca0658f2 100644
--- a/std/StandardToken.sol
+++ b/std/StandardToken.sol
@@ -1,4 +1,4 @@
-pragma solidity >0.4.21;
+pragma solidity ^0.4.22;
import "./Token.sol";
diff --git a/std/owned.sol b/std/owned.sol
index 8e1d5917..75007f3e 100644
--- a/std/owned.sol
+++ b/std/owned.sol
@@ -1,4 +1,4 @@
-pragma solidity >0.4.21;
+pragma solidity ^0.4.22;
contract owned {
address owner;