summaryrefslogtreecommitdiff
path: root/amount.cc
diff options
context:
space:
mode:
Diffstat (limited to 'amount.cc')
-rw-r--r--amount.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/amount.cc b/amount.cc
index 4d39f29a..9ebf0c80 100644
--- a/amount.cc
+++ b/amount.cc
@@ -1048,7 +1048,7 @@ using namespace ledger;
void (amount_t::*parse_1)(std::istream& in) = &amount_t::parse;
void (amount_t::*parse_2)(const std::string& str) = &amount_t::parse;
-struct commodity_updater_wrap : commodity_t::updater_t
+struct commodity_updater_wrap : public commodity_t::updater_t
{
PyObject * self;
commodity_updater_wrap(PyObject * self_) : self(self_) {}