[cherry] [FABRIC-7708] Removed incorrect assert.

This commit is contained in:
Ilya Grechuhin 2017-05-25 16:02:52 +03:00
parent 62321c2c51
commit 311f736b66

View file

@ -224,10 +224,7 @@ public:
T const * data() const
{
if (IsDynamic())
{
ASSERT(!m_dynamic.empty(), ());
return &m_dynamic[0];
}
return m_dynamic.data();
return &m_static[0];
}
@ -235,10 +232,7 @@ public:
T * data()
{
if (IsDynamic())
{
ASSERT(!m_dynamic.empty(), ());
return &m_dynamic[0];
}
return m_dynamic.data();
return &m_static[0];
}