lmi-commits
[Top][All Lists]
Advanced

[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
         )
     {



reply via email to

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