Add protected non-virtual destructor in generated classes

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

No files matched your search

@@ -130,6 +130,8 @@ std::string AdaptorGenerator::processInterface(Node& interface) const
<< propertyRegistration
<< tab << "}" << endl << endl;
body << tab << "~" << className << "() = default;" << endl << endl;
if (!signalMethods.empty())
{
body << "public:" << endl << signalMethods;