mirror of
https://github.com/Kistler-Group/sdbus-cpp.git
synced 2026-01-25 23:22:18 +01:00
Add protected non-virtual destructor in generated classes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user