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 /libsolidity/codegen | |
| parent | efeffa808371b64e6aa7eb5d340baf5989af2cd5 (diff) | |
| parent | e902ce1aa02dc5d19cc9dd231fa538646884826d (diff) | |
| download | dexon-solidity-90627040545f0257b01cc24f95edea1c89cdbbf3.tar dexon-solidity-90627040545f0257b01cc24f95edea1c89cdbbf3.tar.gz dexon-solidity-90627040545f0257b01cc24f95edea1c89cdbbf3.tar.bz2 dexon-solidity-90627040545f0257b01cc24f95edea1c89cdbbf3.tar.lz dexon-solidity-90627040545f0257b01cc24f95edea1c89cdbbf3.tar.xz 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 'libsolidity/codegen')
| -rw-r--r-- | libsolidity/codegen/ContractCompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/ContractCompiler.cpp b/libsolidity/codegen/ContractCompiler.cpp index f9493d6d..02274d60 100644 --- a/libsolidity/codegen/ContractCompiler.cpp +++ b/libsolidity/codegen/ContractCompiler.cpp @@ -50,7 +50,7 @@ class StackHeightChecker public: explicit StackHeightChecker(CompilerContext const& _context): m_context(_context), stackHeight(m_context.stackHeight()) {} - void check() { solAssert(m_context.stackHeight() == stackHeight, std::string("I sense a disturbance in the stack: ") + std::to_string(m_context.stackHeight()) + " vs " + std::to_string(stackHeight)); } + void check() { solAssert(m_context.stackHeight() == stackHeight, std::string("I sense a disturbance in the stack: ") + to_string(m_context.stackHeight()) + " vs " + to_string(stackHeight)); } private: CompilerContext const& m_context; unsigned stackHeight; |
