Skip to content

Commit eeb424b

Browse files
committed
review: style to make it work with clang-tidy-12.
Signed-off-by: Piotr Sikora <[email protected]>
1 parent 8d5fc22 commit eeb424b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v8/v8.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ void V8::registerHostFunctionImpl(std::string_view module_name, std::string_view
498498
convertArgsTupleToValTypes<std::tuple<>>());
499499
auto func = wasm::Func::make(
500500
store_.get(), type.get(),
501-
[](void *data, const wasm::Val params[], wasm::Val[] /*results*/) -> wasm::own<wasm::Trap> {
501+
[](void *data, const wasm::Val params[], wasm::Val /*results*/[]) -> wasm::own<wasm::Trap> {
502502
auto *func_data = reinterpret_cast<FuncData *>(data);
503503
const bool log = func_data->vm_->cmpLogLevel(LogLevel::trace);
504504
if (log) {

0 commit comments

Comments
 (0)