aboutsummaryrefslogtreecommitdiffstats
path: root/test/libevmasm/Assembler.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-12-19 22:11:20 +0800
committerGitHub <noreply@github.com>2018-12-19 22:11:20 +0800
commitc8f20e075f46ce35a9975f43676dbe1794d7ea29 (patch)
tree642c9567b2272cd4450a702f2a735d1243754543 /test/libevmasm/Assembler.cpp
parent8875092073a30c94659f8a373658ca8286803054 (diff)
parent62fe57479e7d8949e4ed2e0efb31238d5d8d6d0a (diff)
downloaddexon-solidity-c8f20e075f46ce35a9975f43676dbe1794d7ea29.tar
dexon-solidity-c8f20e075f46ce35a9975f43676dbe1794d7ea29.tar.gz
dexon-solidity-c8f20e075f46ce35a9975f43676dbe1794d7ea29.tar.bz2
dexon-solidity-c8f20e075f46ce35a9975f43676dbe1794d7ea29.tar.lz
dexon-solidity-c8f20e075f46ce35a9975f43676dbe1794d7ea29.tar.xz
dexon-solidity-c8f20e075f46ce35a9975f43676dbe1794d7ea29.tar.zst
dexon-solidity-c8f20e075f46ce35a9975f43676dbe1794d7ea29.zip
Merge pull request #5635 from ethereum/cpp-default-ctors
[RFC] C++ `=default` ctors/dtors and the use of non-static member initializer syntax.
Diffstat (limited to 'test/libevmasm/Assembler.cpp')
-rw-r--r--test/libevmasm/Assembler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libevmasm/Assembler.cpp b/test/libevmasm/Assembler.cpp
index 6976755f..4e9040b9 100644
--- a/test/libevmasm/Assembler.cpp
+++ b/test/libevmasm/Assembler.cpp
@@ -56,11 +56,11 @@ BOOST_AUTO_TEST_CASE(all_assembly_items)
{
Assembly _assembly;
auto root_asm = make_shared<CharStream>("", "root.asm");
- _assembly.setSourceLocation(SourceLocation(1, 3, root_asm));
+ _assembly.setSourceLocation({1, 3, root_asm});
Assembly _subAsm;
auto sub_asm = make_shared<CharStream>("", "sub.asm");
- _subAsm.setSourceLocation(SourceLocation(6, 8, sub_asm));
+ _subAsm.setSourceLocation({6, 8, sub_asm});
_subAsm.append(Instruction::INVALID);
shared_ptr<Assembly> _subAsmPtr = make_shared<Assembly>(_subAsm);