aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/bucket.cpp
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.lima@openbossa.org>2010-06-14 15:03:29 -0300
committerHugo Parente Lima <hugo.lima@openbossa.org>2010-06-15 14:34:53 -0300
commit4bab9a89c8a0bd22b1a95e46cf75d9e2dd7f42e1 (patch)
treee607d9389ae53de2ddc6010262bf746fd3a60478 /tests/libsample/bucket.cpp
parentf516832ae986a42e7b01f2bcf01b1f1c76259718 (diff)
Fix problems on MacOSX due to uninitialized variables and mixing of int, uint and ulong variables.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests/libsample/bucket.cpp')
-rw-r--r--tests/libsample/bucket.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/libsample/bucket.cpp b/tests/libsample/bucket.cpp
index d0da98a0c..1cfe828e7 100644
--- a/tests/libsample/bucket.cpp
+++ b/tests/libsample/bucket.cpp
@@ -37,6 +37,10 @@
using namespace std;
+Bucket::Bucket() : m_locked(false)
+{
+}
+
void Bucket::push(int x)
{
m_data.push_back(x);