Aegisub icon indicating copy to clipboard operation
Aegisub copied to clipboard

agi: Replace Boost flat_map with std::map in Thesaurus class

Open mia-0 opened this issue 8 months ago • 0 comments

I do not see a reason to prefer the flat_map implementation, and it’s causing crashes when compiled with GCC >= 13 and Boost 1.85.0 at optimization level 2 or higher.

Whether or not this is a bug in GCC, or Boost hitting a case of undefined behavior, avoiding it altogether doesn’t seem to hurt.

Fixes #137

mia-0 avatar Jun 01 '24 14:06 mia-0