lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master d888936 06/16: Move a comment to a more appro


From: Greg Chicares
Subject: [lmi-commits] [lmi] master d888936 06/16: Move a comment to a more appropriate place
Date: Sat, 11 Apr 2020 20:36:03 -0400 (EDT)

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

    Move a comment to a more appropriate place
---
 illustrator.cpp      | 6 ++++++
 illustrator.hpp      | 2 --
 ledger_invariant.cpp | 3 ---
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/illustrator.cpp b/illustrator.cpp
index e1040f4..c5d7b35 100644
--- a/illustrator.cpp
+++ b/illustrator.cpp
@@ -314,6 +314,12 @@ void assert_okay_to_run_group_quote
 }
 } // Unnamed namespace.
 
+/// Test whether census is consistent wrt emission type; throw if not.
+///
+/// It might be a good idea to assert that some data never vary by
+/// life (MasterContractNumber, e.g.)--much as is already done in
+/// one particular circumstance by assert_okay_to_run_group_quote().
+
 void test_census_consensus
     (mcenum_emission           emission
     ,Input              const& case_default
diff --git a/illustrator.hpp b/illustrator.hpp
index 84e30bd..381a9d6 100644
--- a/illustrator.hpp
+++ b/illustrator.hpp
@@ -67,8 +67,6 @@ class LMI_SO illustrator final
 
 Input const& LMI_SO default_cell();
 
-/// Test whether census is consistent wrt emission type; throw if not.
-
 void LMI_SO test_census_consensus
     (mcenum_emission           emission
     ,Input              const& case_default
diff --git a/ledger_invariant.cpp b/ledger_invariant.cpp
index 3deab85..0c545cf 100644
--- a/ledger_invariant.cpp
+++ b/ledger_invariant.cpp
@@ -564,9 +564,6 @@ LedgerInvariant& LedgerInvariant::PlusEq(LedgerInvariant 
const& a_Addend)
 
     // Strings.
     //
-    // It might be a good idea to assert that some strings, such as
-    // MasterContractNumber, don't vary by life.
-    //
     // Override the behavior of LedgerBase::PlusEq() for this handful
     // of strings, which would often or even necessarily vary by life.
     ContractNumber                = "";



reply via email to

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