We don't need to copy the ChildVariants vector into a new vector. We're using std::move on every entry we copy so they clearly aren't needed again. We can swap entries in the vector and reuse it instead.
171 KiB
171 KiB