Skip to content
This repository has been archived by the owner on Nov 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #7 from analizo-mes20181/fix_mlpack_analyze
Browse files Browse the repository at this point in the history
Check if new_data in removeDoubleQuotes function is empty

@mateus-andrade thank you very much!
  • Loading branch information
joenio authored Apr 14, 2018
2 parents 7b83e60 + d8fb68c commit 69d0a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/doxyparse/doxyparse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ static int isPartOfCStruct(MemberDef * md) {
std::string removeDoubleQuotes(std::string data) {
QCString new_data = QCString(data.c_str());
new_data.replace(QRegExp("\""), "");
return new_data.data();
return !new_data.isEmpty() ? new_data.data() : "";
}

std::string argumentData(Argument *argument) {
Expand Down

0 comments on commit 69d0a2a

Please sign in to comment.