changed all unique_ptr that doesn't have ownership to a const reference
This commit is contained in:
@ -19,7 +19,7 @@ public:
|
||||
void print_char(const position &pos, const char ch);
|
||||
void print_str(const position &pos, const std::string &str);
|
||||
void print_turn(const unsigned turn);
|
||||
void print_player(std::unique_ptr<character> &player);
|
||||
void print_player(const character &player);
|
||||
void print_chlist(const character_list &chlist);
|
||||
void print_gold(const gold_list &gold_piles);
|
||||
void print_potions(const potion_list &potions);
|
||||
|
Reference in New Issue
Block a user