Use emplace_back instead of push_back.