diff options
author | Luciano Wolf <luciano.wolf@openbossa.org> | 2009-11-27 18:29:07 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-27 19:21:35 -0300 |
commit | 1dffc65e80f7ed87d51322de10492c7aec7106ca (patch) | |
tree | cdaa8a5d97d60881e1005381924ca8926ee9fb1c /tests/libsample/blackbox.h | |
parent | 5d2e5cd85ec6950f5bb848fe08e66cd8520cf29d (diff) |
Fix objects/points methods to return a list + fix example using them.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'tests/libsample/blackbox.h')
-rw-r--r-- | tests/libsample/blackbox.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libsample/blackbox.h b/tests/libsample/blackbox.h index c683c82d5..9050822d3 100644 --- a/tests/libsample/blackbox.h +++ b/tests/libsample/blackbox.h @@ -57,8 +57,8 @@ public: Point* retrievePoint(int ticket); void disposePoint(int ticket); - ObjectTypeMap objects() { return m_objects; } - PointMap points() { return m_points; } + std::list<ObjectType*> objects(); + std::list<Point*> points(); private: ObjectTypeMap m_objects; |