From b8598225bf0f261154457f76cdb318024f8a5114 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Mon, 18 Mar 2013 09:20:25 -0700 Subject: [PATCH] fix definition of bit_vector::empty() Signed-off-by: Nuno Lopes --- src/util/bit_vector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/bit_vector.h b/src/util/bit_vector.h index f451ae70f..9560af7e2 100644 --- a/src/util/bit_vector.h +++ b/src/util/bit_vector.h @@ -106,7 +106,7 @@ public: } bool empty() const { - return m_num_bits != 0; + return m_num_bits == 0; } unsigned num_words() const {