lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 20e866a 06/10: Simplify an overwrought expres


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 20e866a 06/10: Simplify an overwrought expression
Date: Thu, 8 Feb 2018 08:40:10 -0500 (EST)

branch: master
commit 20e866a90357bf0c0b0390980efb816ccb82da6d
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Simplify an overwrought expression
---
 ledger_invariant.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ledger_invariant.cpp b/ledger_invariant.cpp
index 14a576b..6c2758d 100644
--- a/ledger_invariant.cpp
+++ b/ledger_invariant.cpp
@@ -849,7 +849,7 @@ void LedgerInvariant::Init(BasicValues const* b)
             );
     if(oe_tobacco_nontobacco == smoke_or_tobacco)
         {
-        switch(mce_smoking(b->yare_input_.Smoking).value())
+        switch(b->yare_input_.Smoking)
             {
             case mce_smoker:
                 {



reply via email to

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