summaryrefslogtreecommitdiff
path: root/muse2/muse/undo.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-09-28 15:56:24 +0000
committerFlorian Jung <flo@windfisch.org>2011-09-28 15:56:24 +0000
commit53a46fee00aa9256144c8cb71bc8e71444f339a8 (patch)
tree34a3bb00525784b1d9e93b572174e3a507ac586c /muse2/muse/undo.h
parent56417f8e86e19d459a86f31a41a494f4a9e813a1 (diff)
Undo::empty() also returns empty if the list only contains DoNothings
removed unused, unimplemented function
Diffstat (limited to 'muse2/muse/undo.h')
-rw-r--r--muse2/muse/undo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/muse2/muse/undo.h b/muse2/muse/undo.h
index 5dca82b6..f2a523cc 100644
--- a/muse2/muse/undo.h
+++ b/muse2/muse/undo.h
@@ -119,7 +119,8 @@ struct UndoOp {
};
class Undo : public std::list<UndoOp> {
- void undoOp(UndoOp::UndoType, int data);
+ public:
+ bool empty() const;
};
typedef Undo::iterator iUndoOp;