diff --git a/wrap/FileWriter.h b/wrap/FileWriter.h index f081b86ed..ecafc0c35 100644 --- a/wrap/FileWriter.h +++ b/wrap/FileWriter.h @@ -25,7 +25,7 @@ public: std::ostringstream oss; ///< Primary stream for operating on the file /** Create a writer with a filename and delimiter for the header comment */ - FileWriter(const std::string& filename, bool verbose, const std::string& comment_str=""); + FileWriter(const std::string& filename, bool verbose, const std::string& comment_str); /** Writes the contents of the stringstream to the file, checking if actually new */ void emit(bool add_header, bool force=false) const; diff --git a/wrap/Method.cpp b/wrap/Method.cpp index 7261c88a0..aeddca2e1 100644 --- a/wrap/Method.cpp +++ b/wrap/Method.cpp @@ -30,7 +30,7 @@ void Method::matlab_mfile(const string& classPath) const { // open destination m-file string wrapperFile = classPath + "/" + name + ".m"; - FileWriter file(wrapperFile, verbose_); + FileWriter file(wrapperFile, verbose_, "%"); // generate code string returnType = returnVal.matlab_returnType(); diff --git a/wrap/StaticMethod.cpp b/wrap/StaticMethod.cpp index 3dd9e7c8b..7bdba650b 100644 --- a/wrap/StaticMethod.cpp +++ b/wrap/StaticMethod.cpp @@ -31,7 +31,7 @@ void StaticMethod::matlab_mfile(const string& toolboxPath, const string& classNa // open destination m-file string full_name = className + "_" + name; string wrapperFile = toolboxPath + "/" + full_name + ".m"; - FileWriter file(wrapperFile, verbose); + FileWriter file(wrapperFile, verbose, "%"); // generate code string returnType = returnVal.matlab_returnType();