Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 5a6
- > #include <iostream>
- 77c78,79
- < throw std::runtime_error("While trying to insert the card [" + card->m_name + ", id " + to_string(card->m_id) + "] in the player_cards_by_name map: the key already exists [id " + to_string(player_cards_by_name[card->m_name]->m_id) + "].");
- ---
- > // Don't really want the exception that was here.
- > std::cout << "While trying to insert the card [" << card->m_name + ", id " << to_string(card->m_id) << "] in the player_cards_by_name map: the key already exists [id " << to_string(player_cards_by_name[card->m_name]->m_id) << "]." << std::endl;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement