diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-12-11 11:34:16 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-21 10:47:41 -0800 |
commit | fdf1bf54269b4d40413c725f34b195b50792ccea (patch) | |
tree | b299ac17f6c73c525e128b255e33f68bbfb31d8d | |
parent | 4fa23c0a8cd565acc40dbc3a345009ae8ffa0bea (diff) |
fix missing returns in embind code
-rw-r--r-- | system/include/emscripten/bind.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system/include/emscripten/bind.h b/system/include/emscripten/bind.h index 8ce95de7..55fda986 100644 --- a/system/include/emscripten/bind.h +++ b/system/include/emscripten/bind.h @@ -445,6 +445,7 @@ namespace emscripten { args.count, args.types, reinterpret_cast<internal::GenericFunction>(&internal::raw_constructor<ClassType, ConstructorArgs...>)); + return *this; } template<typename ReturnType, typename... Args> @@ -557,6 +558,7 @@ namespace emscripten { } new(get()) T(v); initialized = true; + return *this; } private: |