lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 56f9792 06/10: Turn a member into a local var


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 56f9792 06/10: Turn a member into a local variable
Date: Mon, 1 Mar 2021 09:39:23 -0500 (EST)

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

    Turn a member into a local variable
---
 i7702.cpp | 2 ++
 i7702.hpp | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/i7702.cpp b/i7702.cpp
index d778293..9ebd6b2 100644
--- a/i7702.cpp
+++ b/i7702.cpp
@@ -75,6 +75,8 @@ i7702::i7702
     // the issue date constitutes a short-term guarantee that must be
     // reflected in the 7702 interest rates (excluding the GLP rate).
 
+    // local with -'_': to be renamed
+    std::vector<double> spread_;
     database_.query_into(DB_CurrAcctValLoad, spread_);
     if
         (   database_.query<bool>(DB_AllowSepAcct)
diff --git a/i7702.hpp b/i7702.hpp
index 89f7043..dc7f118 100644
--- a/i7702.hpp
+++ b/i7702.hpp
@@ -51,8 +51,6 @@ class LMI_SO i7702 final
     product_database   const& database_;
     stratified_charges const& stratified_;
 
-    std::vector<double> spread_;
-
     std::vector<double> ig_     ;
     std::vector<double> gross_  ;
     std::vector<double> net_glp_;



reply via email to

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