Add protected non-virtual destructor in generated classes

This commit is contained in:
sangelovic
2019-06-10 22:54:16 +02:00
parent 7049d00a78
commit ff944c9e95
14 changed files with 51 additions and 6 deletions

View File

@ -95,6 +95,9 @@ std::string ProxyGenerator::processInterface(Node& interface) const
body << tab << "{" << endl
<< registration
<< tab << "}" << endl << endl;
body << tab << "~" << className << "() = default;" << endl << endl;
if (!declaration.empty())
body << declaration << endl;