lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 485e19b 07/14: Favor the rule of zero


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 485e19b 07/14: Favor the rule of zero
Date: Mon, 5 Apr 2021 18:26:46 -0400 (EDT)

branch: master
commit 485e19b6e91a2aad5998ceced3c4da2c10bb1236
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Favor the rule of zero
    
    Expunged special member functions that needn't be specified.
---
 commutation_functions.hpp | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/commutation_functions.hpp b/commutation_functions.hpp
index aa0b09a..3354cc4 100644
--- a/commutation_functions.hpp
+++ b/commutation_functions.hpp
@@ -39,8 +39,6 @@ class LMI_SO OLCommFns final
         ,std::vector<double> const& a_i
         );
 
-    ~OLCommFns() = default;
-
     double                 Domega() const {return ed.back();}
     std::vector<double> const& ED() const {return ed;}
     std::vector<double> const&  D() const {return  d;}
@@ -49,9 +47,6 @@ class LMI_SO OLCommFns final
     std::vector<double> const&  M() const {return  m;}
 
   private:
-    OLCommFns(OLCommFns const&) = delete;
-    OLCommFns& operator=(OLCommFns const&) = delete;
-
     int Length;
 
     std::vector<double> const& q;
@@ -90,8 +85,6 @@ class LMI_SO ULCommFns final
         ,mcenum_mode                mode
         );
 
-    ~ULCommFns() = default;
-
     double                 aDomega() const {return ead.back();}
     std::vector<double> const& EaD() const {return ead;}
     std::vector<double> const&  aD() const {return  ad;}
@@ -101,9 +94,6 @@ class LMI_SO ULCommFns final
     std::vector<double> const&  kM() const {return  km;}
 
   private:
-    ULCommFns(ULCommFns const&) = delete;
-    ULCommFns& operator=(ULCommFns const&) = delete;
-
     std::vector<double> qc;
     std::vector<double> ic;
     std::vector<double> ig;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]