diff options
Diffstat (limited to 'src/commodity.cc')
-rw-r--r-- | src/commodity.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/commodity.cc b/src/commodity.cc index 1fac4a4e..ababfd67 100644 --- a/src/commodity.cc +++ b/src/commodity.cc @@ -279,8 +279,9 @@ commodity_pool_t::commodity_pool_t() : default_commodity(NULL) commodity_t * commodity_pool_t::create(const string& symbol) { - shared_ptr<commodity_base_t> base_commodity(new commodity_base_t(symbol)); - std::auto_ptr<commodity_t> commodity(new commodity_t(this, base_commodity)); + shared_ptr<commodity_t::base_t> + base_commodity(new commodity_t::base_t(symbol)); + std::auto_ptr<commodity_t> commodity(new commodity_t(this, base_commodity)); DEBUG("amounts.commodities", "Creating base commodity " << symbol); |