Wrong usage of std::make_pair