From 628875b33c4f1cd202091c9347ef0176f8b688fa Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 9 Mar 2012 03:19:25 -0600 Subject: Use Boost.Tuple --- src/commodity.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/commodity.h') diff --git a/src/commodity.h b/src/commodity.h index 3f493f8b..1358966e 100644 --- a/src/commodity.h +++ b/src/commodity.h @@ -117,11 +117,9 @@ protected: optional larger; optional value_expr; - typedef std::pair, - optional > optional_time_pair_t; - typedef std::pair time_and_commodity_t; - typedef std::map, + optional, commodity_t *> memoized_price_entry; + typedef std::map > memoized_price_map; static const std::size_t max_price_map_size = 16; -- cgit v1.2.3