From 59fc3d1bdb01b7195a0f9745fe9914ac31b8a3a5 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 14 May 2007 11:09:28 +0000 Subject: Initial implementation of document_builder_t. --- src/commodity.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/commodity.h') diff --git a/src/commodity.h b/src/commodity.h index 84ca5fff..6212e743 100644 --- a/src/commodity.h +++ b/src/commodity.h @@ -318,9 +318,7 @@ class commodity_pool_t : public noncopyable typedef multi_index_container< commodity_t *, multi_index::indexed_by< - multi_index::ordered_unique< - multi_index::member >, + multi_index::random_access<>, multi_index::hashed_unique< multi_index::const_mem_fun > -- cgit v1.2.3