From b80a8528382b0ee4b80faa4acb14a763a9bd4a44 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 10 Feb 2007 20:47:54 +0000 Subject: Fix empty() returning opposite of .. empty. git-svn-id: http://svn.drobilla.net/lad/raul@300 a436a847-0d15-0410-975c-d299462d15a1 --- raul/List.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'raul') 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; -- cgit v1.2.1