Using an out-param is a leftover from C++03. Action Replay codes already return the vector of codes by value as well.