diff options
author | Ben Smith <binjimin@gmail.com> | 2018-08-07 08:49:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-07 08:49:49 -0700 |
commit | 221a39bb62a8984f894331aa5081957d332fd353 (patch) | |
tree | 6da5a05c588e23866d154e353d4340561a4e903f /src/binary-reader-objdump.cc | |
parent | ea279ce6f5e02411528344ddb1fdb227adf296e8 (diff) | |
download | wabt-221a39bb62a8984f894331aa5081957d332fd353.tar.gz wabt-221a39bb62a8984f894331aa5081957d332fd353.tar.bz2 wabt-221a39bb62a8984f894331aa5081957d332fd353.zip |
Pass Option structs by const reference (#888)
Diffstat (limited to 'src/binary-reader-objdump.cc')
-rw-r--r-- | src/binary-reader-objdump.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/binary-reader-objdump.cc b/src/binary-reader-objdump.cc index a9752920..0377ec50 100644 --- a/src/binary-reader-objdump.cc +++ b/src/binary-reader-objdump.cc @@ -1499,15 +1499,15 @@ Result ReadBinaryObjdump(const uint8_t* data, switch (options->mode) { case ObjdumpMode::Prepass: { BinaryReaderObjdumpPrepass reader(data, size, options, state); - return ReadBinary(data, size, &reader, &read_options); + return ReadBinary(data, size, &reader, read_options); } case ObjdumpMode::Disassemble: { BinaryReaderObjdumpDisassemble reader(data, size, options, state); - return ReadBinary(data, size, &reader, &read_options); + return ReadBinary(data, size, &reader, read_options); } default: { BinaryReaderObjdump reader(data, size, options, state); - return ReadBinary(data, size, &reader, &read_options); + return ReadBinary(data, size, &reader, read_options); } } } |