aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/include/emscripten/val.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/include/emscripten/val.h b/system/include/emscripten/val.h
index 9e067a92..8f7df882 100644
--- a/system/include/emscripten/val.h
+++ b/system/include/emscripten/val.h
@@ -109,7 +109,7 @@ namespace emscripten {
return val(internal::_emval_get_property_by_unsigned_long(handle, key));
}
- val eval_global_method(const char* objectName, const char* methodName) {
+ val eval_global_method(const char* objectName, const char* methodName) const {
return val(internal::_emval_eval_global_method(handle, objectName, methodName));
}