| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
The move assignment operator is missing.
Sorry, something went wrong.
|
|
||
| git_strarray_wrapper::~git_strarray_wrapper() | ||
| { | ||
| delete[] m_array.strings; |
There was a problem hiding this comment.
The destructor should also reset the pointer to nullptr after its deletion, and set m_array.size to 0, so many calls to the destructor are harmless.
This could be moved in a private reset_str_array method that could be called from the destructor and other methods.
Sorry, something went wrong.
|
Thanks both! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Add git_strarray wrapper