summaryrefslogtreecommitdiffstats
path: root/raul/List.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-02-10 20:47:54 +0000
committerDavid Robillard <d@drobilla.net>2007-02-10 20:47:54 +0000
commitb80a8528382b0ee4b80faa4acb14a763a9bd4a44 (patch)
tree0062620c9c57e02439b953e8533227e2fa29767e /raul/List.h
parent5b1eb53ffcfddac397a6cf261a4ec491bfb0d22b (diff)
downloadraul-b80a8528382b0ee4b80faa4acb14a763a9bd4a44.tar.gz
raul-b80a8528382b0ee4b80faa4acb14a763a9bd4a44.tar.bz2
raul-b80a8528382b0ee4b80faa4acb14a763a9bd4a44.zip
Fix empty() returning opposite of .. empty.
git-svn-id: http://svn.drobilla.net/lad/raul@300 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'raul/List.h')
-rw-r--r--raul/List.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/raul/List.h b/raul/List.h
index 55959a1..2594b7b 100644
--- a/raul/List.h
+++ b/raul/List.h
@@ -81,7 +81,7 @@ public:
unsigned size() const { return (unsigned)_size.get(); }
/// Valid for any thread
- bool empty() { return (_head.get() != NULL); }
+ bool empty() { return (_head.get() == NULL); }
class iterator;