summaryrefslogtreecommitdiff
path: root/quotes.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-20 02:14:53 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:28 -0400
commitb84f676946941df6f7e8476d77d1db0cbe7736c5 (patch)
tree9ee7c7a2d3b7496b38ad127519210adfeced2241 /quotes.h
parent539370ff1b37772e9f11439f652ffd3583beeedb (diff)
downloadfork-ledger-b84f676946941df6f7e8476d77d1db0cbe7736c5.tar.gz
fork-ledger-b84f676946941df6f7e8476d77d1db0cbe7736c5.tar.bz2
fork-ledger-b84f676946941df6f7e8476d77d1db0cbe7736c5.zip
Did some optimization and memory cleanup
Diffstat (limited to 'quotes.h')
-rw-r--r--quotes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/quotes.h b/quotes.h
index 7b2e5217..a1fabd93 100644
--- a/quotes.h
+++ b/quotes.h
@@ -7,12 +7,12 @@ namespace ledger {
class quotes_by_script : public commodity_base_t::updater_t
{
- std::string price_db;
+ string price_db;
time_duration pricing_leeway;
bool& cache_dirty;
public:
- quotes_by_script(std::string _price_db,
+ quotes_by_script(string _price_db,
time_duration _pricing_leeway,
bool& _cache_dirty)
: price_db(_price_db), pricing_leeway(_pricing_leeway),