I know i have a dangling pointer *somewhere* but now I gotta find it and asan just tells me about the segfault I already knew about
update: I'm pretty sure it's a much more regular kind of bug
yeah, it's std::filesystem eating the extension.
Yep, that was an easy fix.
Would have been easier if I wasn't getting lied to by the debugger, but what're you gonna do
the other lesson from this thread is "you never stop making stupid mistakes, you simply get better at recognizing the ones you've made before"
so you can go make exciting new stupid mistakes, as I did tonight.
Don't let the name fool you. All the pornography here is legal, and much of it is hand-written. No fascists, no bigots.