[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 1b73f19 1/6: Expunge two disused functions
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 1b73f19 1/6: Expunge two disused functions |
Date: |
Thu, 24 Jun 2021 20:09:16 -0400 (EDT) |
branch: master
commit 1b73f197e32b71dc351b568ffc0729bf4aad5913
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Expunge two disused functions
These functions aren't used now, and never should be. A 1035 exchange
can either be accepted in full, or rejected in full; there's no third
option, because the amount is an immutable external reality. If a MEC
results, it cannot be avoided by "refunding" part of the 1035 exchange.
---
outlay.cpp | 10 ----------
outlay.hpp | 4 ----
2 files changed, 14 deletions(-)
diff --git a/outlay.cpp b/outlay.cpp
index ebbdd47..ffce5d6 100644
--- a/outlay.cpp
+++ b/outlay.cpp
@@ -49,16 +49,6 @@ modal_outlay::modal_outlay
{
}
-void modal_outlay::set_external_1035_amount(currency z)
-{
- external_1035_amount_ = round_gross_premium_.c(z);
-}
-
-void modal_outlay::set_internal_1035_amount(currency z)
-{
- internal_1035_amount_ = round_gross_premium_.c(z);
-}
-
void modal_outlay::set_ee_modal_premiums(currency z, int from_year, int
to_year)
{
z = round_gross_premium_.c(z); // CURRENCY !! already rounded?
diff --git a/outlay.hpp b/outlay.hpp
index 04031cb..5b4d152 100644
--- a/outlay.hpp
+++ b/outlay.hpp
@@ -59,10 +59,6 @@ class modal_outlay final
modal_outlay(modal_outlay const&) = delete;
modal_outlay& operator=(modal_outlay const&) = delete;
- // Not yet used, but needed for MEC avoidance.
- void set_external_1035_amount(currency z);
- void set_internal_1035_amount(currency z);
-
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&);
- [lmi-commits] [lmi] master updated (04379f7 -> 3f71b11), Greg Chicares, 2021/06/24
- [lmi-commits] [lmi] master 131d1a2 2/6: Expunge another disused function, Greg Chicares, 2021/06/24
- [lmi-commits] [lmi] master 1b73f19 1/6: Expunge two disused functions,
Greg Chicares <=
- [lmi-commits] [lmi] master 0090fb0 3/6: Refactor for simplicity, Greg Chicares, 2021/06/24
- [lmi-commits] [lmi] master 3f71b11 6/6: Follow odd NAIC "in force" definition more closely, Greg Chicares, 2021/06/24
- [lmi-commits] [lmi] master be19add 4/6: Block all other payments for guaranteed-premium solves, Greg Chicares, 2021/06/24
- [lmi-commits] [lmi] master d018628 5/6: Do guaranteed-premium solves in first year only [276], Greg Chicares, 2021/06/24