changed all non-owned unique_ptr access to reference to the object itself
This commit is contained in:
@ -8,9 +8,9 @@
|
||||
|
||||
class curses_input final: public input {
|
||||
private:
|
||||
const std::unique_ptr<cursor> &curse;
|
||||
cursor &curse;
|
||||
public:
|
||||
curses_input(const std::unique_ptr<cursor> &new_curse);
|
||||
curses_input(cursor &new_curse);
|
||||
game_command get_command() override;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user