App: modernize C++: use override
This commit is contained in:
@@ -35,9 +35,9 @@ namespace App {
|
||||
* class to behave as a Python extension -- simply by subclassing.
|
||||
*/
|
||||
template <class ExtensionT>
|
||||
class ExtensionPythonT : public ExtensionT
|
||||
class ExtensionPythonT : public ExtensionT //NOLINT
|
||||
{
|
||||
EXTENSION_PROPERTY_HEADER(App::ExtensionPythonT<ExtensionT>);
|
||||
EXTENSION_PROPERTY_HEADER_WITH_OVERRIDE(App::ExtensionPythonT<ExtensionT>);
|
||||
|
||||
public:
|
||||
using Inherited = ExtensionT;
|
||||
@@ -46,7 +46,7 @@ public:
|
||||
ExtensionT::m_isPythonExtension = true;
|
||||
ExtensionT::initExtensionType(ExtensionPythonT::getExtensionClassTypeId());
|
||||
}
|
||||
virtual ~ExtensionPythonT() = default;
|
||||
~ExtensionPythonT() override = default;
|
||||
|
||||
ExtensionPythonT(const ExtensionPythonT&) = delete;
|
||||
ExtensionPythonT(ExtensionPythonT&&) = delete;
|
||||
|
||||
Reference in New Issue
Block a user