diff options
author | Matías Aereal Aeón <aereal@gmail.com> | 2018-08-08 22:26:30 +0800 |
---|---|---|
committer | Matías Aereal Aeón <aereal@gmail.com> | 2018-08-08 22:26:30 +0800 |
commit | e902ce1aa02dc5d19cc9dd231fa538646884826d (patch) | |
tree | bdac717d124e725679929c722cfe2c752cc90dd9 /test/libsolidity | |
parent | 7dae58cbcc3df64e6add31020a7f44de1b28b3de (diff) | |
download | dexon-solidity-e902ce1aa02dc5d19cc9dd231fa538646884826d.tar dexon-solidity-e902ce1aa02dc5d19cc9dd231fa538646884826d.tar.gz dexon-solidity-e902ce1aa02dc5d19cc9dd231fa538646884826d.tar.bz2 dexon-solidity-e902ce1aa02dc5d19cc9dd231fa538646884826d.tar.lz dexon-solidity-e902ce1aa02dc5d19cc9dd231fa538646884826d.tar.xz dexon-solidity-e902ce1aa02dc5d19cc9dd231fa538646884826d.tar.zst dexon-solidity-e902ce1aa02dc5d19cc9dd231fa538646884826d.zip |
Removing std:: from std::to_string and include for boost/lexical_cast
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/SolidityOptimizer.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/libsolidity/SolidityOptimizer.cpp b/test/libsolidity/SolidityOptimizer.cpp index 119f80d1..1c80e82e 100644 --- a/test/libsolidity/SolidityOptimizer.cpp +++ b/test/libsolidity/SolidityOptimizer.cpp @@ -25,7 +25,6 @@ #include <libevmasm/Instruction.h> #include <boost/test/unit_test.hpp> -#include <boost/lexical_cast.hpp> #include <chrono> #include <string> @@ -82,8 +81,8 @@ public: BOOST_CHECK_MESSAGE( _optimizeRuns < 50 || optimizedSize < nonOptimizedSize, string("Optimizer did not reduce bytecode size. Non-optimized size: ") + - std::to_string(nonOptimizedSize) + " - optimized size: " + - std::to_string(optimizedSize) + to_string(nonOptimizedSize) + " - optimized size: " + + to_string(optimizedSize) ); m_optimizedContract = m_contractAddress; } |