tastytea
99e1cd8e98
All checks were successful
continuous-integration/drone/push Build is passing
Found out what was wrong: I fed boost::regex_search() the pointer to a substring that was created in-place. match[2] was a pointer to a substring inside that. The problem was, that match was declared outside of the if-block. So after the if-block match[2] would point to a now freed memory address. It didn't have any effects because I didn't use match afterwards. I rewrote the whole thing with iterators. Slightly less readable, slightly better performance (probably). |
||
---|---|---|
.. | ||
debug_flags.cmake | ||
FindFilesystem.cmake | ||
packages.cmake |