summaryrefslogtreecommitdiff
path: root/src/pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pool.h')
-rw-r--r--src/pool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pool.h b/src/pool.h
index 915def16..c1325944 100644
--- a/src/pool.h
+++ b/src/pool.h
@@ -86,7 +86,7 @@ public:
virtual ~commodity_pool_t() {
TRACE_DTOR(commodity_pool_t);
- foreach (commodities_map::value_type pair, commodities)
+ foreach (commodities_map::value_type& pair, commodities)
checked_delete(pair.second);
}