Index: src/wasm/encoder.h |
diff --git a/src/wasm/encoder.h b/src/wasm/encoder.h |
index 064eb859640d49103484d517ef1fd2f4193f4952..2a73deea9eabbad1e60a8f5306a7750ad2c3cf3e 100644 |
--- a/src/wasm/encoder.h |
+++ b/src/wasm/encoder.h |
@@ -135,7 +135,7 @@ class WasmModuleBuilder : public ZoneObject { |
private: |
struct CompareFunctionSigs { |
- int operator()(FunctionSig* a, FunctionSig* b); |
+ int operator()(FunctionSig* a, FunctionSig* b) const; |
}; |
typedef ZoneMap<FunctionSig*, uint16_t, CompareFunctionSigs> SignatureMap; |