Skip to content

Commit

Permalink
Add override to destructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-robertson committed Dec 12, 2024
1 parent 040bf48 commit 8c127f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/model/PythonPluginSearchPaths.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ namespace model {
/** @name Constructors and Destructors */
//@{

virtual ~PythonPluginSearchPaths() = default;
virtual ~PythonPluginSearchPaths() override = default;
// Default the copy and move operators because the virtual dtor is explicit
PythonPluginSearchPaths(const PythonPluginSearchPaths& other) = default;
PythonPluginSearchPaths(PythonPluginSearchPaths&& other) = default;
Expand Down
2 changes: 1 addition & 1 deletion src/model/PythonPluginSearchPaths_Impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ namespace model {

PythonPluginSearchPaths_Impl(const PythonPluginSearchPaths_Impl& other, Model_Impl* model, bool keepHandle);

virtual ~PythonPluginSearchPaths_Impl() = default;
virtual ~PythonPluginSearchPaths_Impl() override = default;

//@}
/** @name Virtual Methods */
Expand Down

0 comments on commit 8c127f6

Please sign in to comment.