Prevent drogon_ctl create_view appending empty new lines to resulting view in c++ section (#1073)
This commit is contained in:
parent
9e9bc7997e
commit
29f2d431ab
|
@ -118,7 +118,7 @@ static void parseLine(std::ofstream &oSrcFile,
|
|||
{
|
||||
// std::cout<<"blank line!"<<std::endl;
|
||||
// std::cout<<streamName<<"<<\"\\n\";\n";
|
||||
if (returnFlag)
|
||||
if (returnFlag && !cxx_flag)
|
||||
oSrcFile << streamName << "<<\"\\n\";\n";
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue