Solution: use std::vector instead, simplify control-flow
Attach a file by drag & drop or click to upload