Skip to content
Snippets Groups Projects
Commit b51a8acf authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

lua : remove segfault when accessing help for delete method

parent 01018a0e
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@ static void printMethod(std::string name, luaMethodBinding *mb, bool isConstruct
std::vector<std::string> argTypeNames;
mb->getArgTypeNames(argTypeNames);
std::cout << " ";
if(!isConstructor)
if(!isConstructor && name!="delete")
std::cout << colorBold<<argTypeNames[0];
std::cout << colorBlue << " " << name << colorDefault << colorBold << " (";
int count = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment