summaryrefslogtreecommitdiff
path: root/indra/llui/llundo.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-10-04 10:04:13 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-10-04 10:04:13 -0400
commit14293b7b0a63fe5be904cbdc853f3b185e13f3fc (patch)
tree6a755ca689fc408de11e46b891fedb52002b6b9f /indra/llui/llundo.h
parent71e89d6a493e51789008f74f87439611f11c13ab (diff)
parente093a98f86ad46374f5067adb616a2aead73eff5 (diff)
Merge remote branch 'develop' into marchcat/xcode-16
Diffstat (limited to 'indra/llui/llundo.h')
-rw-r--r--indra/llui/llundo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llui/llundo.h b/indra/llui/llundo.h
index dc40702be0..990745e530 100644
--- a/indra/llui/llundo.h
+++ b/indra/llui/llundo.h
@@ -42,7 +42,7 @@ public:
LLUndoAction(): mClusterID(0) {};
virtual ~LLUndoAction(){};
private:
- S32 mClusterID;
+ S32 mClusterID;
};
LLUndoBuffer( LLUndoAction (*create_func()), S32 initial_count );
@@ -51,8 +51,8 @@ public:
LLUndoAction *getNextAction(bool setClusterBegin = true);
bool undoAction();
bool redoAction();
- bool canUndo() { return (mNextAction != mFirstAction); }
- bool canRedo() { return (mNextAction != mLastAction); }
+ bool canUndo() const { return (mNextAction != mFirstAction); }
+ bool canRedo() const { return (mNextAction != mLastAction); }
void flushActions();