From 649f09845abf29fd18249b286de2faee81b5d7f7 Mon Sep 17 00:00:00 2001 From: Ding Li Date: Fri, 22 Jun 2018 12:33:33 +0800 Subject: [PATCH] Fix #42: iterator example udpate (TradingPool usage) --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6cb9110..240d3a7 100644 --- a/README.md +++ b/README.md @@ -543,11 +543,12 @@ Here is a simple example: // for simplicity, I will not use the Lang/Script class void OnStart() { - OrderList list; - int total= TradingPool::total(); + TradingPool pool; + LinkedList list; + int total= pool.total(); for(int i=0; i