summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/include/emscripten/bind.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/include/emscripten/bind.h b/system/include/emscripten/bind.h
index 4a82eacb..8ce95de7 100644
--- a/system/include/emscripten/bind.h
+++ b/system/include/emscripten/bind.h
@@ -218,7 +218,7 @@ namespace emscripten {
template<typename ClassType, typename ReturnType, typename... Args>
struct MethodInvoker {
typedef ReturnType (ClassType::*MemberPointer)(Args...);
- typename internal::BindingType<ReturnType>::WireType invoke(
+ static typename internal::BindingType<ReturnType>::WireType invoke(
ClassType* ptr,
const MemberPointer& method,
typename internal::BindingType<Args>::WireType... args