Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/proxy-wasm/context.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class ContextBase : public RootInterface,
const std::shared_ptr<PluginHandleBase> &plugin_handle); // Stream context.
virtual ~ContextBase();

virtual WasmBase *wasm() const { return wasm_; }
WasmBase *wasm() const { return wasm_; }
uint32_t id() const { return id_; }
// The VM Context used for calling "malloc" has an id_ == 0.
bool isVmContext() const { return id_ == 0; }
Expand Down
2 changes: 1 addition & 1 deletion include/proxy-wasm/wasm_vm.h
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ struct WasmVmIntegration {
virtual proxy_wasm::LogLevel getLogLevel() = 0;
virtual void error(std::string_view message) = 0;
// Allow integrations to handle specific FailStates differently.
virtual void error(FailState fail_state, std::string_view message) { error(message); }
virtual void error(FailState, std::string_view message) { error(message); }
virtual void trace(std::string_view message) = 0;
// Get a NullVm implementation of a function.
// @param function_name is the name of the function with the implementation specific prefix.
Expand Down
Loading