lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] valyuta/002 7de1baa 56/65: Note some more instances


From: Greg Chicares
Subject: [lmi-commits] [lmi] valyuta/002 7de1baa 56/65: Note some more instances of the missing unary operator-()
Date: Wed, 16 Sep 2020 16:55:21 -0400 (EDT)

branch: valyuta/002
commit 7de1baa9756a9363b0853d405b3a76f05c5a0a76
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Note some more instances of the missing unary operator-()
---
 ihs_avmly.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ihs_avmly.cpp b/ihs_avmly.cpp
index c8e27bc..c4e08d5 100644
--- a/ihs_avmly.cpp
+++ b/ihs_avmly.cpp
@@ -2611,7 +2611,7 @@ void AccountValue::TxTakeWD()
             // Do you really want 'face' here rather than specamt? --Yes
             if(WdDecrSpecAmtDboLvl)
                 {
-                ChangeSpecAmtBy(currency() - GrossWD);
+                ChangeSpecAmtBy(currency() - GrossWD); // unary operator-()
                 // Min AV after WD not directly implemented.
                 // If WD causes AV < min AV, do we:
                 //   reduce the WD?
@@ -2631,7 +2631,7 @@ void AccountValue::TxTakeWD()
             {
             if(WdDecrSpecAmtDboInc)
                 {
-                ChangeSpecAmtBy(currency() - GrossWD);
+                ChangeSpecAmtBy(currency() - GrossWD); // unary operator-()
                 }
             else
                 {
@@ -2643,7 +2643,7 @@ void AccountValue::TxTakeWD()
             {
             if(WdDecrSpecAmtDboRop)
                 {
-                ChangeSpecAmtBy(currency() - GrossWD);
+                ChangeSpecAmtBy(currency() - GrossWD); // unary operator-()
                 }
             else
                 {



reply via email to

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