diff options
-rwxr-xr-x | system/include/emscripten/wire.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/system/include/emscripten/wire.h b/system/include/emscripten/wire.h index f782d49e..5126c4be 100755 --- a/system/include/emscripten/wire.h +++ b/system/include/emscripten/wire.h @@ -231,24 +231,6 @@ namespace emscripten { } }; - template<typename T> - struct BindingType<std::shared_ptr<T>> { - typedef std::shared_ptr<T> shared_ptr; - typedef std::shared_ptr<T>* WireType; - - static WireType toWireType(shared_ptr p) { - return new shared_ptr(p); - } - - static shared_ptr fromWireType(WireType wt) { - return *wt; - } - - static void destroy(WireType p) { - delete p; - } - }; - template<typename Enum> struct EnumBindingType { typedef Enum WireType; |