summaryrefslogtreecommitdiff
path: root/src/quotes.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-01 18:33:46 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-01 18:33:46 -0400
commit59a080cdb6bafa6ab20cb20c1bf1f007ea64de84 (patch)
tree99ee6bdb62d3e3fdedfaa494723e4a48ec8ec6e4 /src/quotes.h
parent9f579902fb6b30cac426110dfd3faa55017b552b (diff)
downloadfork-ledger-59a080cdb6bafa6ab20cb20c1bf1f007ea64de84.tar.gz
fork-ledger-59a080cdb6bafa6ab20cb20c1bf1f007ea64de84.tar.bz2
fork-ledger-59a080cdb6bafa6ab20cb20c1bf1f007ea64de84.zip
Changed many uses of "unsigned long" to std::size_t.
Diffstat (limited to 'src/quotes.h')
-rw-r--r--src/quotes.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/quotes.h b/src/quotes.h
index 60eac63b..a18836f4 100644
--- a/src/quotes.h
+++ b/src/quotes.h
@@ -58,19 +58,19 @@ namespace ledger {
*/
class quotes_by_script : public noncopyable, public commodity_t::base_t::updater_t
{
- string price_db;
- unsigned long pricing_leeway;
- bool& cache_dirty;
+ string price_db;
+ std::size_t pricing_leeway;
+ bool& cache_dirty;
quotes_by_script();
public:
- quotes_by_script(path _price_db,
- unsigned long _pricing_leeway,
- bool& _cache_dirty)
+ quotes_by_script(path _price_db,
+ std::size_t _pricing_leeway,
+ bool& _cache_dirty)
: price_db(_price_db), pricing_leeway(_pricing_leeway),
cache_dirty(_cache_dirty) {
- TRACE_CTOR(quotes_by_script, "path, unsigned long, bool&");
+ TRACE_CTOR(quotes_by_script, "path, std::size_t, bool&");
}
~quotes_by_script() throw() {
TRACE_DTOR(quotes_by_script);