lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 1de8bcd: Permit 'InforceAsOfDateJdn' to have


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 1de8bcd: Permit 'InforceAsOfDateJdn' to have no xml output format
Date: Sat, 15 Oct 2016 14:50:46 +0000 (UTC)

branch: master
commit 1de8bcd620078a60e9c12ba5a09b7d7741fa9229
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Permit 'InforceAsOfDateJdn' to have no xml output format
    
    'InforceAsOfDateJdn' parallels 'DateOfBirthJdn' and 'EffDateJdn'; like
    them, it has no plausible use for xml report generation, so it must be
    mentioned in unavailable() to avoid a runtime error.
---
 ledger_xml_io.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/ledger_xml_io.cpp b/ledger_xml_io.cpp
index e3ca605..76156ca 100644
--- a/ledger_xml_io.cpp
+++ b/ledger_xml_io.cpp
@@ -102,6 +102,7 @@ bool unavailable(std::string const& s)
     static std::string const a[] =
         {"DateOfBirthJdn"        // used by group quotes
         ,"EffDateJdn"            // used by group quotes
+        ,"InforceAsOfDateJdn"    // probably not needed
         ,"InitDacTaxRate"        // used by PrintRosterTabDelimited(); not 
cents
         ,"InitPremTaxRate"       // used by PrintRosterTabDelimited(); not 
cents
         ,"SubstdTable"           // probably not needed



reply via email to

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