aboutsummaryrefslogtreecommitdiff
path: root/common/list_intern.h
diff options
context:
space:
mode:
authorMax Horn2009-04-27 14:25:16 +0000
committerMax Horn2009-04-27 14:25:16 +0000
commit7f20f3bb3e30c9b9cb78ea1f9033677d30c00a04 (patch)
tree3ef28e68a0c0e945f3ad8926305c9f8f2d71d616 /common/list_intern.h
parente579f91b5c1b0949954037acf5bb4b364bfeb2b5 (diff)
downloadscummvm-rg350-7f20f3bb3e30c9b9cb78ea1f9033677d30c00a04.tar.gz
scummvm-rg350-7f20f3bb3e30c9b9cb78ea1f9033677d30c00a04.tar.bz2
scummvm-rg350-7f20f3bb3e30c9b9cb78ea1f9033677d30c00a04.zip
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
Diffstat (limited to 'common/list_intern.h')
-rw-r--r--common/list_intern.h4
1 files changed, 2 insertions, 2 deletions
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<T> &x) : _node(x._node) {}
// Prefix inc