diff --git a/src/register_manager.hh b/src/register_manager.hh index a2a1e253..4337f257 100644 --- a/src/register_manager.hh +++ b/src/register_manager.hh @@ -29,7 +29,7 @@ class StaticRegister : public Register public: void set(Context&, ConstArrayView values) override { - m_content = Vector(values.begin(), values.end()); + m_content.assign(values.begin(), values.end()); } ConstArrayView get(const Context&) override