diff --git a/server/src/core/interfaceitem.hpp b/server/src/core/interfaceitem.hpp index cc61e022..612fb2fe 100644 --- a/server/src/core/interfaceitem.hpp +++ b/server/src/core/interfaceitem.hpp @@ -128,6 +128,7 @@ class InterfaceItem const std::vector& getVectorAttribute(AttributeName name) const { assert(m_attributes.find(name) != m_attributes.end()); + assert(dynamic_cast*>(m_attributes.at(name).get())); return static_cast*>(m_attributes.at(name).get())->values(); }