"testing/vscode:/vscode.git/clone" did not exist on "d6dd2ddfa9a7b67220ff4354e9fd844466920144"
Don't return pointers to static objects with return_value_policy::take_ownership. (#3946)
* Don't return pointers to static objects with return_value_policy::take_ownership.
This fixes -Wfree-nonheap-object warnings produced by GCC.
* Use return value policy fix instead
Co-authored-by:
Aaron Gokaslan <skylion.aaron@gmail.com>
Showing
Please register or sign in to comment