[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 = "";
- [lmi-commits] [lmi] master updated (dfb045a -> ed9a11d), Greg Chicares, 2020/04/11
- [lmi-commits] [lmi] master 5f5f3b5 01/16: Move a large comment block outside a function definition, Greg Chicares, 2020/04/11
- [lmi-commits] [lmi] master d888936 06/16: Move a comment to a more appropriate place,
Greg Chicares <=
- [lmi-commits] [lmi] master cbc0ec5 03/16: Sort string members together in declaration order, Greg Chicares, 2020/04/11
- [lmi-commits] [lmi] master f7689a2 08/16: Regularize whitespace, Greg Chicares, 2020/04/11
- [lmi-commits] [lmi] master 95c2f88 02/16: Declutter, Greg Chicares, 2020/04/11
- [lmi-commits] [lmi] master ce9d6b8 04/16: Change compositing for some string members, Greg Chicares, 2020/04/11
- [lmi-commits] [lmi] master df9c566 07/16: Sort nonscalable scalar members together in declaration order, Greg Chicares, 2020/04/11
- [lmi-commits] [lmi] master a7a9404 05/16: Simplify [348], Greg Chicares, 2020/04/11
- [lmi-commits] [lmi] master 359c74c 09/16: Treat 'InitErMode' the same as any other ledger string, Greg Chicares, 2020/04/11
- [lmi-commits] [lmi] master 255b816 15/16: Mark ledger members dubiously ignored in compositing, Greg Chicares, 2020/04/11
- [lmi-commits] [lmi] master ed9a11d 16/16: Address ledger members formerly ignored in compositing, Greg Chicares, 2020/04/11
- [lmi-commits] [lmi] master 2e134db 11/16: Add 'InitEeMode' to ledger, Greg Chicares, 2020/04/11