From b64b6b986226ce28c0e6a285823aa7fcba86617e Mon Sep 17 00:00:00 2001 From: whh8b <whh8b@git.zephyr-software.com> Date: Thu, 4 Feb 2016 08:15:13 +0000 Subject: [PATCH] Add a SetSize() method for the Dollop_t (for testing). --- include/dollop.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/dollop.h b/include/dollop.h index 965e0d9..a122041 100644 --- a/include/dollop.h +++ b/include/dollop.h @@ -99,6 +99,10 @@ class Dollop_t : public Placeable_t, public std::list<DollopEntry_t*> { size_t GetSize() const { return m_size; } + void SetSize(size_t size) { + m_size = size; + } + size_t GetDollopEntryCount() const { return size(); } -- GitLab