Commit c3178ff9 by Francisco Giordano

Add message to caution that SafeMath.sol is for Solidity 0.8

parent f8cc8b84
...@@ -2,6 +2,10 @@ ...@@ -2,6 +2,10 @@
pragma solidity ^0.8.0; pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/** /**
* @dev Wrappers over Solidity's arithmetic operations. * @dev Wrappers over Solidity's arithmetic operations.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment