Skip to content

Commit

Permalink
Remove unused destructors
Browse files Browse the repository at this point in the history
  • Loading branch information
fintarin committed Feb 1, 2024
1 parent addd02e commit 7604308
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions include/fintamath/literals/ILiteral.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ namespace fintamath {

class ILiteral : public IMathObject {
public:
~ILiteral() override = default;

template <std::derived_from<ILiteral> T>
static void registerType() {
Parser::registerType<T>(getParser());
Expand Down
2 changes: 0 additions & 2 deletions include/fintamath/numbers/Complex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ class Complex final : public INumberCRTP<Complex> {

Complex &operator=(Complex &&rhs) noexcept = default;

~Complex() override = default;

explicit Complex(const std::string &str);

explicit Complex(const INumber &inReal, const INumber &inImag);
Expand Down

0 comments on commit 7604308

Please sign in to comment.