From a109f2c68313854f2c5952e14325916e65f6d7c5 Mon Sep 17 00:00:00 2001 From: Ding Li Date: Tue, 10 Sep 2019 07:55:48 +0800 Subject: [PATCH] fix #46: missing void return type in method LinkedList::clear --- Collection/LinkedList.mqh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Collection/LinkedList.mqh b/Collection/LinkedList.mqh index fa602ba..ac40e05 100644 --- a/Collection/LinkedList.mqh +++ b/Collection/LinkedList.mqh @@ -185,7 +185,7 @@ public: //| Remove all elements of the LinkedList | //+------------------------------------------------------------------+ template -LinkedList::clear(void) +void LinkedList::clear(void) { LinkedNode*node=m_base.m_head.next(); while(node!=m_base.m_tail)