summaryrefslogtreecommitdiffstats
path: root/src/entry.h
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-10-13 21:53:12 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-10-13 21:53:12 (GMT)
commit79f6a43c5fbd1f28f2fbdaa642cf42a0079b5be6 (patch)
tree0e2b6137d67b3d6a2acef5aff30eb1ff28d83536 /src/entry.h
parentd2b8ae16cb99621827f5dd860222c27e629f5a7f (diff)
downloadDoxygen-79f6a43c5fbd1f28f2fbdaa642cf42a0079b5be6.zip
Doxygen-79f6a43c5fbd1f28f2fbdaa642cf42a0079b5be6.tar.gz
Doxygen-79f6a43c5fbd1f28f2fbdaa642cf42a0079b5be6.tar.bz2
Fix lifetime issue for Entry objects.
Diffstat (limited to 'src/entry.h')
-rw-r--r--src/entry.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/entry.h b/src/entry.h
index 091e81b..c078936 100644
--- a/src/entry.h
+++ b/src/entry.h
@@ -223,6 +223,9 @@ class Entry
void moveToSubEntryAndRefresh(Entry* &e);
void moveToSubEntryAndRefresh(std::unique_ptr<Entry> &e);
+ /*! take \a child of of to list of children and move it into \a moveTo */
+ void moveFromSubEntry(const Entry *child,std::unique_ptr<Entry> &moveTo);
+
/*! make a copy of \a e and add it as a child to this entry */
void copyToSubEntry (Entry* e);
void copyToSubEntry (const std::unique_ptr<Entry> &e);
@@ -230,7 +233,7 @@ class Entry
/*! Removes entry \a e from the list of children.
* The entry will be deleted if found.
*/
- void removeSubEntry(Entry *e);
+ void removeSubEntry(const Entry *e);
/*! Restore the state of this Entry to the default value it has
* at construction time.