diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-17 02:43:09 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-17 02:43:09 -0400 |
commit | c0d7feac7f4af1b3535834f511e2e9ef2c2f7cb0 (patch) | |
tree | aba0b84b79a3e8e8e3faf9e6728defdcc61b40c4 /config.h | |
parent | cd7d7e5b88d0cdca6b183c3b34cea2008136e0ec (diff) | |
download | fork-ledger-c0d7feac7f4af1b3535834f511e2e9ef2c2f7cb0.tar.gz fork-ledger-c0d7feac7f4af1b3535834f511e2e9ef2c2f7cb0.tar.bz2 fork-ledger-c0d7feac7f4af1b3535834f511e2e9ef2c2f7cb0.zip |
don't allocate config_t within config.cc
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -32,20 +32,20 @@ struct config_t std::string value_expr; std::string total_expr; unsigned long pricing_leeway; - bool show_subtotals; - bool show_expanded; - bool show_related; - bool show_inverted; - bool show_empty; - bool days_of_the_week; - bool show_revalued; - bool show_revalued_only; - bool download_quotes; + bool show_subtotals; + bool show_expanded; + bool show_related; + bool show_inverted; + bool show_empty; + bool days_of_the_week; + bool show_revalued; + bool show_revalued_only; + bool download_quotes; config_t(); }; -extern std::auto_ptr<config_t> config; +extern config_t * config; void option_help(std::ostream& out); |