[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] odd/rules_of_n c90645b0 2/5: Follow the Rule of Zero
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] odd/rules_of_n c90645b0 2/5: Follow the Rule of Zero, even expunging a virtual dtor |
Date: |
Sat, 9 Jul 2022 18:31:24 -0400 (EDT) |
branch: odd/rules_of_n
commit c90645b0a085609f7b54f29268255493648b7a7f
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Follow the Rule of Zero, even expunging a virtual dtor
Identified by clang's '-Wdeprecated-copy-with-dtor'.
---
ledger.hpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/ledger.hpp b/ledger.hpp
index 351642ce..66856941 100644
--- a/ledger.hpp
+++ b/ledger.hpp
@@ -72,7 +72,6 @@ class LMI_SO Ledger final
,bool no_can_issue
,bool is_composite
);
- virtual ~Ledger() = default;
void ZeroInforceAfterLapse();
Ledger& PlusEq(Ledger const& a_Addend);
- [lmi-commits] [lmi] branch odd/rules_of_n created (now 84444422), Greg Chicares, 2022/07/09
- [lmi-commits] [lmi] odd/rules_of_n c90645b0 2/5: Follow the Rule of Zero, even expunging a virtual dtor,
Greg Chicares <=
- [lmi-commits] [lmi] odd/rules_of_n eb5fef08 4/5: Follow the Rule of Five, Greg Chicares, 2022/07/09
- [lmi-commits] [lmi] odd/rules_of_n 84444422 5/5: Enable clang's '-Wdeprecated-copy-with-dtor', Greg Chicares, 2022/07/09
- [lmi-commits] [lmi] odd/rules_of_n ab0a3dec 3/5: Follow the Rule of Zero (initializing all data members in class), Greg Chicares, 2022/07/09
- [lmi-commits] [lmi] odd/rules_of_n 4eab8b4a 1/5: Follow the Rule of Zero, Greg Chicares, 2022/07/09