lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 131d1a2 2/6: Expunge another disused function


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 131d1a2 2/6: Expunge another disused function
Date: Thu, 24 Jun 2021 20:09:16 -0400 (EDT)

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

    Expunge another disused function
---
 outlay.cpp | 6 ------
 outlay.hpp | 1 -
 2 files changed, 7 deletions(-)

diff --git a/outlay.cpp b/outlay.cpp
index ffce5d6..4d42eba 100644
--- a/outlay.cpp
+++ b/outlay.cpp
@@ -61,12 +61,6 @@ void modal_outlay::set_er_modal_premiums(currency z, int 
from_year, int to_year)
     std::fill_n(er_modal_premiums_.begin() + from_year, to_year - from_year, 
z);
 }
 
-void modal_outlay::set_er_modal_premiums(std::vector<currency> const& z)
-{
-    LMI_ASSERT(z.size() == er_modal_premiums_.size());
-    er_modal_premiums_ = round_gross_premium_.c(z); // CURRENCY !! already 
rounded?
-}
-
 void modal_outlay::set_withdrawals(currency z, int from_year, int to_year)
 {
     z = round_withdrawal_.c(z); // CURRENCY !! already rounded?
diff --git a/outlay.hpp b/outlay.hpp
index 5b4d152..fac512c 100644
--- a/outlay.hpp
+++ b/outlay.hpp
@@ -61,7 +61,6 @@ class modal_outlay final
 
     void set_ee_modal_premiums(currency z, int from_year, int to_year);
     void set_er_modal_premiums(currency z, int from_year, int to_year);
-    void set_er_modal_premiums(std::vector<currency> const&);
     void set_withdrawals      (currency z, int from_year, int to_year);
     void set_new_cash_loans   (currency z, int from_year, int to_year);
 



reply via email to

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