Replacing vector swap with std::fill