cpp-backend-reference icon indicating copy to clipboard operation
cpp-backend-reference copied to clipboard

fix: sizeof(other.m_data) -> strlen(other.m_data)

Open WeiHea opened this issue 3 years ago • 0 comments

sizeof 获取的是指针的字节个数,other.m_data 此时不是数组,是一个指针。

WeiHea avatar Feb 18 '22 18:02 WeiHea