lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 48c18e1 4/5: Use WriteSampleDBFile() and Writ


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 48c18e1 4/5: Use WriteSampleDBFile() and WriteProprietaryDBFiles() with no object
Date: Thu, 4 Aug 2016 13:10:37 +0000 (UTC)

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

    Use WriteSampleDBFile() and WriteProprietaryDBFiles() with no object
---
 generate_product_files.cpp |    4 ++--
 premium_tax_test.cpp       |    2 +-
 product_file_test.cpp      |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/generate_product_files.cpp b/generate_product_files.cpp
index e25b33c..dfddc6c 100644
--- a/generate_product_files.cpp
+++ b/generate_product_files.cpp
@@ -38,13 +38,13 @@ int try_main(int, char*[])
 
     std::cout << "Generating product files." << std::endl;
 
-    DBDictionary()      .WriteSampleDBFile                  ();
+    DBDictionary       ::WriteSampleDBFile                  ();
     product_data       ::WritePolFiles                      ();
     FundData           ::WriteFundFiles                     ();
     rounding_rules     ::write_rounding_files               ();
     stratified_charges ::write_stratified_files             ();
 
-    DBDictionary()      .WriteProprietaryDBFiles            ();
+    DBDictionary       ::WriteProprietaryDBFiles            ();
     FundData           ::WriteProprietaryFundFiles          ();
     product_data       ::WriteProprietaryPolFiles           ();
     rounding_rules     ::write_proprietary_rounding_files   ();
diff --git a/premium_tax_test.cpp b/premium_tax_test.cpp
index 1a42207..ffdd138 100644
--- a/premium_tax_test.cpp
+++ b/premium_tax_test.cpp
@@ -46,7 +46,7 @@ class premium_tax_test
 
 void premium_tax_test::write_prerequisite_files()
 {
-    DBDictionary()      .WriteSampleDBFile      ();
+    DBDictionary       ::WriteSampleDBFile      ();
     // product_database::initialize() requires a real '.product' file,
     // even though it's not otherwise used in this TU.
     product_data       ::WritePolFiles          ();
diff --git a/product_file_test.cpp b/product_file_test.cpp
index 50d7deb..a62a766 100644
--- a/product_file_test.cpp
+++ b/product_file_test.cpp
@@ -67,7 +67,7 @@ std::string product_file_test::stratified_filename_ ;
 
 void product_file_test::write_all_files()
 {
-    DBDictionary()      .WriteSampleDBFile      ();
+    DBDictionary       ::WriteSampleDBFile      ();
     product_data       ::WritePolFiles          ();
     FundData           ::WriteFundFiles         ();
     rounding_rules     ::write_rounding_files   ();



reply via email to

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