diff options
author | Ben Smith <binjimin@gmail.com> | 2017-06-09 16:09:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-09 16:09:35 -0700 |
commit | 5322dbcd2a06c920f59b5a3bc6f01de5fd2af228 (patch) | |
tree | f87800aec8261015831c2244ad2c8ac58862084e /src/binary-reader-interpreter.cc | |
parent | 155bbc40469570681fec73eca262dbcc05643774 (diff) | |
download | wabt-5322dbcd2a06c920f59b5a3bc6f01de5fd2af228.tar.gz wabt-5322dbcd2a06c920f59b5a3bc6f01de5fd2af228.tar.bz2 wabt-5322dbcd2a06c920f59b5a3bc6f01de5fd2af228.zip |
Use C++ callbacks in BindingHash::FindDuplicates (#487)
Diffstat (limited to 'src/binary-reader-interpreter.cc')
-rw-r--r-- | src/binary-reader-interpreter.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binary-reader-interpreter.cc b/src/binary-reader-interpreter.cc index 6ddc9f52..c912ba51 100644 --- a/src/binary-reader-interpreter.cc +++ b/src/binary-reader-interpreter.cc @@ -649,7 +649,7 @@ wabt::Result BinaryReaderInterpreter::AppendExport(Module* module, ExternalKind kind, Index item_index, StringSlice name) { - if (module->export_bindings.find_index(name) != -1) { + if (module->export_bindings.FindIndex(name) != -1) { PrintError("duplicate export \"" PRIstringslice "\"", WABT_PRINTF_STRING_SLICE_ARG(name)); return wabt::Result::Error; |