diff options
author | chriseth <chris@ethereum.org> | 2017-08-25 18:25:05 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-08-26 01:36:48 +0800 |
commit | 6951a371ecb7cdb93bed44b902a04a45f4f8249c (patch) | |
tree | fb066b52df07de26acbe710878aa2303fb665e3b /libevmasm | |
parent | 6475bd9a72526011b495fae45aa6c8ddb514f611 (diff) | |
download | dexon-solidity-6951a371ecb7cdb93bed44b902a04a45f4f8249c.tar dexon-solidity-6951a371ecb7cdb93bed44b902a04a45f4f8249c.tar.gz dexon-solidity-6951a371ecb7cdb93bed44b902a04a45f4f8249c.tar.bz2 dexon-solidity-6951a371ecb7cdb93bed44b902a04a45f4f8249c.tar.lz dexon-solidity-6951a371ecb7cdb93bed44b902a04a45f4f8249c.tar.xz dexon-solidity-6951a371ecb7cdb93bed44b902a04a45f4f8249c.tar.zst dexon-solidity-6951a371ecb7cdb93bed44b902a04a45f4f8249c.zip |
Cleanup of vector_ref.h
Diffstat (limited to 'libevmasm')
-rw-r--r-- | libevmasm/LinkerObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libevmasm/LinkerObject.cpp b/libevmasm/LinkerObject.cpp index 06607089..8b7d9e06 100644 --- a/libevmasm/LinkerObject.cpp +++ b/libevmasm/LinkerObject.cpp @@ -38,7 +38,7 @@ void LinkerObject::link(map<string, h160> const& _libraryAddresses) std::map<size_t, std::string> remainingRefs; for (auto const& linkRef: linkReferences) if (h160 const* address = matchLibrary(linkRef.second, _libraryAddresses)) - address->ref().copyTo(ref(bytecode).cropped(linkRef.first, 20)); + copy(address->data(), address->data() + 20, bytecode.begin() + linkRef.first); else remainingRefs.insert(linkRef); linkReferences.swap(remainingRefs); |