summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm.h b/src/wasm.h
index feaa51e40..2f655fa7f 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -1391,7 +1391,7 @@ struct Importable {
// If these are set, then this is an import, as module.base
Name module, base;
- bool imported() { return module.is(); }
+ bool imported() const { return module.is(); }
void setName(Name name_, bool hasExplicitName_) {
name = name_;