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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user