Skip to content

Commit

Permalink
review: fix format.
Browse files Browse the repository at this point in the history
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
  • Loading branch information
PiotrSikora committed Oct 27, 2020
1 parent 969bba9 commit ef3a2d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tools/wee8_compile/wee8_compile.cc
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ wasm::vec<byte_t> stripWasmModule(const wasm::vec<byte_t>& module) {
std::cerr << "ERROR: Failed to parse corrupted Wasm module." << std::endl;
return wasm::vec<byte_t>::invalid();
}
auto section_name = std::string_view(pos, section_name_len);
auto section_name = absl::string_view(pos, section_name_len);
if (section_name.find("precompiled_") == std::string::npos) {
stripped.insert(stripped.end(), section_start, section_data_start + section_len);
}
Expand Down

0 comments on commit ef3a2d8

Please sign in to comment.