forked from Kistler-Group/sdbus-cpp
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