summaryrefslogtreecommitdiff
path: root/src/balance.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/balance.h')
-rw-r--r--src/balance.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/balance.h b/src/balance.h
index 996132e6..e4f54696 100644
--- a/src/balance.h
+++ b/src/balance.h
@@ -353,8 +353,10 @@ public:
return *this = temp;
}
- optional<balance_t> value(const optional<datetime_t>& moment = none,
- const optional<commodity_t&>& in_terms_of = none) const;
+ optional<balance_t>
+ value(const bool primary_only = false,
+ const optional<datetime_t>& moment = none,
+ const optional<commodity_t&>& in_terms_of = none) const;
/**
* Truth tests. An balance may be truth test in two ways: