Skip to content

Commit

Permalink
Fix special method declaration order
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu BAGUE <[email protected]>
  • Loading branch information
Mathieu BAGUE committed Apr 9, 2021
1 parent 7afe840 commit 58e1660
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
9 changes: 5 additions & 4 deletions include/powsybl/iidm/ExtensionAdder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ class ExtensionAdder {
*/
explicit ExtensionAdder(Extendable& extendable);

/**
* Destructor
*/
virtual ~ExtensionAdder() noexcept = default;

/**
* Copy constructor
Expand All @@ -57,6 +53,11 @@ class ExtensionAdder {
*/
ExtensionAdder(ExtensionAdder&&) noexcept = default;

/**
* Destructor
*/
virtual ~ExtensionAdder() noexcept = default;

private:
/**
* Creates the extension.
Expand Down
10 changes: 5 additions & 5 deletions include/powsybl/iidm/extensions/SlackTerminalAdder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ class SlackTerminalAdder : public ExtensionAdder {
*/
explicit SlackTerminalAdder(Extendable& extendable);

/**
* Destructor
*/
~SlackTerminalAdder() noexcept override = default;

/**
* Copy constructor
*/
Expand All @@ -41,6 +36,11 @@ class SlackTerminalAdder : public ExtensionAdder {
*/
SlackTerminalAdder(SlackTerminalAdder&&) = default;

/**
* Destructor
*/
~SlackTerminalAdder() noexcept override = default;

/**
* Copy assignment operator
*/
Expand Down

0 comments on commit 58e1660

Please sign in to comment.