aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjinsuck <jkim@imvu.com>2012-12-19 16:56:06 -0800
committerJukka Jylänki <jujjyl@gmail.com>2013-04-12 14:22:38 +0300
commit40773165f4b7481b1e62533cd94c75fa2d73622d (patch)
tree3c065e8d5e9fa18968d9ad5dc2d3764fb69ab2f9
parent0e3ca9c9d67dfa7efd95d97d3c1a5d0edc6fdb24 (diff)
add const to a function in val
-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));
}