Closed arvidn closed 4 years ago
I wonder why arrowing the optional would reallocate the string like clang suggests. Anyway it'd be easy to go around it. FYI this is the implementation of the C API, so this part is not used from libtorrent.
yeah, looking a bit closer, it looks suspicious. addressof()
shouldn't cause anything to reallocate
Sorry for just dumping this here, I haven't had time to look into this myself yet. Feel free to close if you think this is a false positive: