fix build for boost 1.58
This commit is contained in:
parent
48aec0f093
commit
68c9d649ca
2 changed files with 2 additions and 2 deletions
|
|
@ -707,7 +707,7 @@ namespace {
|
|||
insert_prices_in_map(price_map_t& _all_prices)
|
||||
: all_prices(_all_prices) {}
|
||||
|
||||
void operator()(datetime_t& date, const amount_t& price) {
|
||||
void operator()(const datetime_t& date, const amount_t& price) {
|
||||
all_prices.insert(price_map_t::value_type(date, price));
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ namespace {
|
|||
TRACE_DTOR(create_price_xact);
|
||||
}
|
||||
|
||||
void operator()(datetime_t& date, const amount_t& price) {
|
||||
void operator()(const datetime_t& date, const amount_t& price) {
|
||||
xact_t * xact;
|
||||
string symbol = price.commodity().symbol();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue