diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/embind/embind_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/embind/embind_test.cpp b/tests/embind/embind_test.cpp index 7cde8e7f..e969f9d8 100644 --- a/tests/embind/embind_test.cpp +++ b/tests/embind/embind_test.cpp @@ -1573,7 +1573,7 @@ EMSCRIPTEN_BINDINGS(tests) { class_<std::function<std::string(std::string)>>("StringFunctorString")
.constructor<>()
- .calloperator<std::string, std::string>("opcall")
+ .function("opcall", &std::function<std::string(std::string)>::operator())
;
function("emval_test_get_function_ptr", &emval_test_get_function_ptr);
|