sead icon indicating copy to clipboard operation
sead copied to clipboard

Accuracy issues in TreeMap and StrTreeMap

Open leoetlino opened this issue 2 years ago • 0 comments

  1. remove the StrTreeMap dtor (it shouldn't exist – StrrTreeMap was copy/pasted from TreeMap, and I fixed TreeMap but forgot to fix StrTreeMap as well)
  2. move TreeMapImpl to its own header (seadTreeMapImpl.h)
  3. rewrite forEach to get rid of the odd-looking loop – LLVM optimised the tail recursive call and I didn't notice when I implemented forEach

leoetlino avatar Jan 13 '23 14:01 leoetlino