[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master c7a13c2 3/9: Reorder function definitions
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master c7a13c2 3/9: Reorder function definitions |
Date: |
Thu, 4 Oct 2018 13:00:39 -0400 (EDT) |
branch: master
commit c7a13c295ec51b90c7c7cee5948021a42017a321
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Reorder function definitions
---
ledger_evaluator.cpp | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/ledger_evaluator.cpp b/ledger_evaluator.cpp
index 497b592..ea298b3 100644
--- a/ledger_evaluator.cpp
+++ b/ledger_evaluator.cpp
@@ -136,19 +136,6 @@ bool format_exists
} // Unnamed namespace.
-std::string ledger_evaluator::operator()(std::string const& scalar) const
-{
- return map_lookup(scalars_, scalar);
-}
-
-std::string ledger_evaluator::operator()
- (std::string const& vector
- ,int index
- ) const
-{
- return map_lookup(vectors_, vector).at(index);
-}
-
ledger_evaluator Ledger::make_evaluator() const
{
title_map_t title_map;
@@ -990,6 +977,19 @@ ledger_evaluator Ledger::make_evaluator() const
return ledger_evaluator(std::move(stringscalars),
std::move(stringvectors));
}
+std::string ledger_evaluator::operator()(std::string const& scalar) const
+{
+ return map_lookup(scalars_, scalar);
+}
+
+std::string ledger_evaluator::operator()
+ (std::string const& vector
+ ,int index
+ ) const
+{
+ return map_lookup(vectors_, vector).at(index);
+}
+
void ledger_evaluator::write_tsv
(fs::path const& // pdf_out_file
,Ledger const& ledger
- [lmi-commits] [lmi] master updated (8705e80 -> b3e084f), Greg Chicares, 2018/10/04
- [lmi-commits] [lmi] master c7a13c2 3/9: Reorder function definitions,
Greg Chicares <=
- [lmi-commits] [lmi] master 21a3007 1/9: Designate release candidate 20181003T2110Z, Greg Chicares, 2018/10/04
- [lmi-commits] [lmi] master 1e6dcc0 4/9: Throw earlier and unconditionally if interdicted, Greg Chicares, 2018/10/04
- [lmi-commits] [lmi] master f81c6b5 8/9: Fix defect introduced 20180930T1741Z: missing format, Greg Chicares, 2018/10/04
- [lmi-commits] [lmi] master 0d512f5 6/9: Add a never-before-implemented variable, Greg Chicares, 2018/10/04
- [lmi-commits] [lmi] master b3e084f 9/9: Designate release candidate 20181004T1656Z, Greg Chicares, 2018/10/04
- [lmi-commits] [lmi] master 63e87a7 7/9: Note a shortcoming, Greg Chicares, 2018/10/04
- [lmi-commits] [lmi] master 385378e 5/9: Expunge format for a nonexistent entity, Greg Chicares, 2018/10/04
- [lmi-commits] [lmi] master 691e6b1 2/9: Refactor, Greg Chicares, 2018/10/04