changed all non-owned unique_ptr access to reference to the object itself

This commit is contained in:
2024-07-11 22:15:15 -04:00
parent 6d3e8229df
commit c68330b3e3
17 changed files with 73 additions and 57 deletions

View File

@ -8,9 +8,9 @@
class curses_output final : public display {
private:
const std::unique_ptr<cursor> &curse;
cursor &curse;
public:
curses_output(const std::unique_ptr<cursor> &new_curse);
curses_output(cursor &new_curse);
void render() override;
void clear() override;