segfault in microstring::length()
gvansickle opened this issue · comments
Gary R. Van Sickle commented
string.hpp lines 93/94:
auto tmp = m_storage;
auto ptr = reinterpret_cast<const char *>(tmp);
The tmp
needs an & in front of it.
Also, constructor not working correctly for strings less than 3 chars long.