diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-12-01 15:22:27 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-12-01 15:22:27 +0100 |
commit | 1a8477e06eed82f2ea800e6928dee7e4c22ad178 (patch) | |
tree | 4ab183f164eef4516c2b5a473ec2e3618a50c256 | |
parent | cbaa83a37db55af91ff9e68d8e470ef11c65f528 (diff) |
List::operator bool() should be const.
-rw-r--r-- | common/list.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/list.h b/common/list.h index d15913d..cf429e5 100644 --- a/common/list.h +++ b/common/list.h @@ -25,7 +25,7 @@ class List : public B { } //! Check whether list is empty or not. - operator bool() { + operator bool() const { return !B::empty(); } |