lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master b83bdf0 7/7: Improve concinnity


From: Greg Chicares
Subject: [lmi-commits] [lmi] master b83bdf0 7/7: Improve concinnity
Date: Sun, 23 Aug 2020 18:00:52 -0400 (EDT)

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

    Improve concinnity
    
    Moved two mutators out of the header, to conform to the pattern of the
    other member functions (accessors in the header; mutators not).
---
 outlay.cpp | 10 ++++++++++
 outlay.hpp | 10 ----------
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/outlay.cpp b/outlay.cpp
index 88ab2fb..9c1e422 100644
--- a/outlay.cpp
+++ b/outlay.cpp
@@ -49,6 +49,16 @@ modal_outlay::modal_outlay
 {
 }
 
+void modal_outlay::set_external_1035_amount(double z)
+{
+    external_1035_amount_ = round_gross_premium_(z);
+}
+
+void modal_outlay::set_internal_1035_amount(double z)
+{
+    internal_1035_amount_ = round_gross_premium_(z);
+}
+
 void modal_outlay::set_ee_modal_premiums(double z, int from_year, int to_year)
 {
     z = round_gross_premium_(z);
diff --git a/outlay.hpp b/outlay.hpp
index f8baf36..9bc6044 100644
--- a/outlay.hpp
+++ b/outlay.hpp
@@ -128,14 +128,4 @@ inline std::vector<double> const& 
modal_outlay::new_cash_loans() const
     return new_cash_loans_;
 }
 
-inline void modal_outlay::set_external_1035_amount(double z)
-{
-    external_1035_amount_ = round_gross_premium_(z);
-}
-
-inline void modal_outlay::set_internal_1035_amount(double z)
-{
-    internal_1035_amount_ = round_gross_premium_(z);
-}
-
 #endif // outlay_hpp



reply via email to

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