From 7f20f3bb3e30c9b9cb78ea1f9033677d30c00a04 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 27 Apr 2009 14:25:16 +0000 Subject: COMMON: Improved efficiency of some Common::List methods; added more unit tests and some doxygen comments for Common::List and Common::Array svn-id: r40164 --- common/list_intern.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/list_intern.h') diff --git a/common/list_intern.h b/common/list_intern.h index 772ca649f7..7ec7fdfd41 100644 --- a/common/list_intern.h +++ b/common/list_intern.h @@ -57,7 +57,7 @@ namespace ListInternal { NodeBase *_node; Iterator() : _node(0) {} - Iterator(NodeBase *node) : _node(node) {} + explicit Iterator(NodeBase *node) : _node(node) {} // Prefix inc Self &operator++() { @@ -110,7 +110,7 @@ namespace ListInternal { const NodeBase *_node; ConstIterator() : _node(0) {} - ConstIterator(const NodeBase *node) : _node(node) {} + explicit ConstIterator(const NodeBase *node) : _node(node) {} ConstIterator(const Iterator &x) : _node(x._node) {} // Prefix inc -- cgit v1.2.3