From 819263a2c19bd607e726a00cbca1faf1624aa63b Mon Sep 17 00:00:00 2001 From: whh8b <whh8b@git.zephyr-software.com> Date: Sat, 30 Jul 2016 21:55:08 +0000 Subject: [PATCH] Add RePlace() method. --- include/dollop.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/dollop.h b/include/dollop.h index 352bdec..fd0c233 100644 --- a/include/dollop.h +++ b/include/dollop.h @@ -46,6 +46,10 @@ class Placeable_t { m_is_placed = true; m_placed_address = place; }; + void RePlace(Zipr_SDK::RangeAddress_t place) { + m_is_placed = true; + m_placed_address = place; + }; Zipr_SDK::RangeAddress_t Place() { return m_placed_address; } bool IsPlaced() const { return m_is_placed; } friend std::ostream &operator<<(std::ostream &, const Placeable_t &); -- GitLab