Small mistake on std::swap