forked from organicmaps/organicmaps
[cherry] [FABRIC-7708] Removed incorrect assert.
This commit is contained in:
parent
62321c2c51
commit
311f736b66
1 changed files with 2 additions and 8 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue