Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src: do not get string_view from temp string
The result of std::string().substr() will be destroyed at the end of expression and creating std::string_view from it results in dangling pointer.
- Loading branch information