mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-30 04:20:23 +00:00
Add const modifier to undo2::UndoHistory::prev/next/cmd member functions
This commit is contained in:
parent
13040cba5d
commit
9efd84153b
@ -18,9 +18,9 @@ namespace undo2 {
|
||||
class UndoState {
|
||||
friend class UndoHistory;
|
||||
public:
|
||||
UndoState* prev() { return m_prev; }
|
||||
UndoState* next() { return m_next; }
|
||||
UndoCommand* cmd() { return m_cmd; }
|
||||
UndoState* prev() const { return m_prev; }
|
||||
UndoState* next() const { return m_next; }
|
||||
UndoCommand* cmd() const { return m_cmd; }
|
||||
private:
|
||||
UndoState* m_prev;
|
||||
UndoState* m_next;
|
||||
|
Loading…
x
Reference in New Issue
Block a user