summaryrefslogtreecommitdiff
path: root/src/commodity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/commodity.h')
-rw-r--r--src/commodity.h4
1 files changed, 1 insertions, 3 deletions
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<commodity_t,
- commodity_t::ident_t, &commodity_t::ident> >,
+ multi_index::random_access<>,
multi_index::hashed_unique<
multi_index::const_mem_fun<commodity_t,
string, &commodity_t::mapping_key> >