lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 36d5a6b 1/9: Remove unnecessary static_cast


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 36d5a6b 1/9: Remove unnecessary static_cast
Date: Sat, 17 Feb 2018 11:13:04 -0500 (EST)

branch: master
commit 36d5a6bd447a96cf23c18be2b4901e085e68c22d
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Remove unnecessary static_cast
---
 ledger_invariant.cpp | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/ledger_invariant.cpp b/ledger_invariant.cpp
index 6ea6c0b..3d64cb5 100644
--- a/ledger_invariant.cpp
+++ b/ledger_invariant.cpp
@@ -1277,7 +1277,7 @@ void LedgerInvariant::CalculateIrrs(Ledger const& 
LedgerValues)
         (Outlay
         ,Guar_.CSVNet
         ,IrrCsvGuarInput
-        ,static_cast<unsigned int>(Guar_.LapseYear)
+        ,Guar_.LapseYear
         ,max_length
         ,irr_precision_
         );
@@ -1286,7 +1286,7 @@ void LedgerInvariant::CalculateIrrs(Ledger const& 
LedgerValues)
         (Outlay
         ,Guar_.EOYDeathBft
         ,IrrDbGuarInput
-        ,static_cast<unsigned int>(Guar_.LapseYear)
+        ,Guar_.LapseYear
         ,max_length
         ,irr_precision_
         );
@@ -1295,7 +1295,7 @@ void LedgerInvariant::CalculateIrrs(Ledger const& 
LedgerValues)
         (Outlay
         ,Curr_.CSVNet
         ,IrrCsvCurrInput
-        ,static_cast<unsigned int>(Curr_.LapseYear)
+        ,Curr_.LapseYear
         ,max_length
         ,irr_precision_
         );
@@ -1304,7 +1304,7 @@ void LedgerInvariant::CalculateIrrs(Ledger const& 
LedgerValues)
         (Outlay
         ,Curr_.EOYDeathBft
         ,IrrDbCurrInput
-        ,static_cast<unsigned int>(Curr_.LapseYear)
+        ,Curr_.LapseYear
         ,max_length
         ,irr_precision_
         );
@@ -1337,7 +1337,7 @@ void LedgerInvariant::CalculateIrrs(Ledger const& 
LedgerValues)
         (Outlay
         ,Guar0.CSVNet
         ,IrrCsvGuar0
-        ,static_cast<unsigned int>(Guar0.LapseYear)
+        ,Guar0.LapseYear
         ,max_length
         ,irr_precision_
         );
@@ -1346,7 +1346,7 @@ void LedgerInvariant::CalculateIrrs(Ledger const& 
LedgerValues)
         (Outlay
         ,Guar0.EOYDeathBft
         ,IrrDbGuar0
-        ,static_cast<unsigned int>(Guar0.LapseYear)
+        ,Guar0.LapseYear
         ,max_length
         ,irr_precision_
         );
@@ -1355,7 +1355,7 @@ void LedgerInvariant::CalculateIrrs(Ledger const& 
LedgerValues)
         (Outlay
         ,Curr0.CSVNet
         ,IrrCsvCurr0
-        ,static_cast<unsigned int>(Curr0.LapseYear)
+        ,Curr0.LapseYear
         ,max_length
         ,irr_precision_
         );
@@ -1364,7 +1364,7 @@ void LedgerInvariant::CalculateIrrs(Ledger const& 
LedgerValues)
         (Outlay
         ,Curr0.EOYDeathBft
         ,IrrDbCurr0
-        ,static_cast<unsigned int>(Curr0.LapseYear)
+        ,Curr0.LapseYear
         ,max_length
         ,irr_precision_
         );



reply via email to

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