[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master f4cf784 3/7: Make standard_supplemental_repor
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master f4cf784 3/7: Make standard_supplemental_report ctor helper static |
Date: |
Tue, 18 Sep 2018 13:29:30 -0400 (EDT) |
branch: master
commit f4cf784b668e6b804af2f62fdb27b7a3f77b03e1
Author: Vadim Zeitlin <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Make standard_supplemental_report ctor helper static
A function called from the ctor initializer list should be static as it
can't use any fields of the not yet initialized object.
No real changes.
---
ledger_pdf_generator_wx.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ledger_pdf_generator_wx.cpp b/ledger_pdf_generator_wx.cpp
index 5cdc031..e5ba6af 100644
--- a/ledger_pdf_generator_wx.cpp
+++ b/ledger_pdf_generator_wx.cpp
@@ -1933,7 +1933,7 @@ class standard_supplemental_report : public
page_with_tabular_report
}
// Helper function used by the ctor to initialize the const columns_ field.
- illustration_table_columns build_columns
+ static illustration_table_columns build_columns
(html_interpolator const& interpolate_html
)
{
- [lmi-commits] [lmi] master updated (be7b9ff -> 1c398a8), Greg Chicares, 2018/09/18
- [lmi-commits] [lmi] master f4cf784 3/7: Make standard_supplemental_report ctor helper static,
Greg Chicares <=
- [lmi-commits] [lmi] master e3d4471 1/7: Upgrade wx, Greg Chicares, 2018/09/18
- [lmi-commits] [lmi] master d143cbe 5/7: Use C++17 if-with-initializer to properly localize a variable, Greg Chicares, 2018/09/18
- [lmi-commits] [lmi] master 71dc467 4/7: Pass the illustration and interpolator to the page ctor, Greg Chicares, 2018/09/18
- [lmi-commits] [lmi] master a3ee7ce 2/7: Instal wxPdfDocument using Git instead of snapshot download, Greg Chicares, 2018/09/18
- [lmi-commits] [lmi] master b2ec7ac 6/7: Avoid parsing the same HTML more than once in standard pages, Greg Chicares, 2018/09/18
- [lmi-commits] [lmi] master 1c398a8 7/7: Implement support for headers for normal PDF illustration pages, Greg Chicares, 2018/09/18