Code

undo annotations
[inkscape.git] / src / composite-undo-stack-observer.h
index 02d54eb7693415fc361ba199f18abc1cddbf4e0a..7e45ccae4f01e24087184f040118fd8d85cd9945 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef __COMPOSITE_UNDO_COMMIT_OBSERVER_H__
 #define __COMPOSITE_UNDO_COMMIT_OBSERVER_H__
 
+#include "gc-alloc.h"
+#include "gc-managed.h"
 #include "undo-stack-observer.h"
 
 #include <list>
@@ -88,7 +90,7 @@ public:
        };
 
        /// A list of UndoStackObserverRecords, used to aggregate multiple UndoStackObservers.
-       typedef std::list< UndoStackObserverRecord > UndoObserverRecordList;
+       typedef std::list< UndoStackObserverRecord, GC::Alloc< UndoStackObserverRecord, GC::MANUAL > > UndoObserverRecordList;
 
        /**
         * Constructor.