empty cannot be define for a const object, because empty modifed itself.

This commit is contained in:
jief 2020-02-27 14:48:47 +03:00
parent 4be169f058
commit 5fc9b805af

View File

@ -346,10 +346,4 @@ void XArray<TYPE>::Empty()
m_len = 0;
}
template<class TYPE>
const bool XArray<TYPE>::empty() const
{
//printf("XArray Empty\n");
return m_len == 0;
}
#endif