diff --git a/wrap/Class.h b/wrap/Class.h index 46624ea05..f5267cee2 100644 --- a/wrap/Class.h +++ b/wrap/Class.h @@ -78,10 +78,6 @@ struct Class { void deserialization_fragments(FileWriter& proxyFile, FileWriter& wrapperFile, const std::string& wrapperName, std::vector& functionNames) const; - // Creates a static member function that performs deserialization - void deserialization_fragments(FileWriter& proxyFile, FileWriter& wrapperFile, - const std::string& wrapperName, std::vector& functionNames) const; - private: void pointer_constructor_fragments(FileWriter& proxyFile, FileWriter& wrapperFile, const std::string& wrapperName, std::vector& functionNames) const; void comment_fragment(FileWriter& proxyFile) const; diff --git a/wrap/Module.cpp b/wrap/Module.cpp index 79fb36c3b..a31f57e79 100644 --- a/wrap/Module.cpp +++ b/wrap/Module.cpp @@ -507,10 +507,6 @@ void Module::matlab_code(const string& toolboxPath, const string& headerPath) co } // Generate includes while avoiding redundant includes - if (hasSerialiable) { - wrapperFile.oss << "#include \n"; - wrapperFile.oss << "#include \n\n"; - } generateIncludes(wrapperFile); // create typedef classes - we put this at the top of the wrap file so that collectors and method arguments can use these typedefs diff --git a/wrap/tests/expected/geometry_wrapper.cpp b/wrap/tests/expected/geometry_wrapper.cpp index e62806ef5..e00004d57 100644 --- a/wrap/tests/expected/geometry_wrapper.cpp +++ b/wrap/tests/expected/geometry_wrapper.cpp @@ -6,9 +6,6 @@ #include #include -#include -#include - #include