diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-08-08 23:07:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-08 23:07:25 +0800 |
commit | 90627040545f0257b01cc24f95edea1c89cdbbf3 (patch) | |
tree | 2a22ee42a7a2f0a146bc22b47d801f5d63ddca2c /test/libsolidity/SolidityOptimizer.cpp | |
parent | efeffa808371b64e6aa7eb5d340baf5989af2cd5 (diff) | |
parent | e902ce1aa02dc5d19cc9dd231fa538646884826d (diff) | |
download | dexon-solidity-90627040545f0257b01cc24f95edea1c89cdbbf3.tar.gz dexon-solidity-90627040545f0257b01cc24f95edea1c89cdbbf3.tar.zst dexon-solidity-90627040545f0257b01cc24f95edea1c89cdbbf3.zip |
Merge pull request #4753 from mattaereal/boost-to-string-patch
Replace boost:lexical_cast<std::string> for std::to_string.
Diffstat (limited to 'test/libsolidity/SolidityOptimizer.cpp')
-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; } |