Generated code formatting fix

release/4.3a0
Richard Roberts 2012-07-23 21:27:38 +00:00
parent 87d1e0a488
commit 0b08923c41
1 changed files with 0 additions and 2 deletions

View File

@ -131,8 +131,6 @@ string StaticMethod::wrapper_fragment(FileWriter& file,
// unwrap arguments, see Argument.cpp
args.matlab_unwrap(file,0); // We start at 0 because there is no self object
file.oss << " ";
// call method with default type and wrap result
if (returnVal.type1!="void")
returnVal.wrap_result(cppClassName+"::"+name+"("+args.names()+")", file, typeAttributes);