summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emscripten-optimizer/simple_ast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emscripten-optimizer/simple_ast.h b/src/emscripten-optimizer/simple_ast.h
index e4c886dd8..ecb0e22ea 100644
--- a/src/emscripten-optimizer/simple_ast.h
+++ b/src/emscripten-optimizer/simple_ast.h
@@ -287,7 +287,7 @@ struct Value {
return *this;
}
- bool operator==(const Value& other) {
+ bool operator==(const Value& other) const {
if (type != other.type) {
return false;
}