diff options
Diffstat (limited to 'src/pagedef.h')
-rw-r--r-- | src/pagedef.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pagedef.h b/src/pagedef.h index fa5e400..4f8f647 100644 --- a/src/pagedef.h +++ b/src/pagedef.h @@ -41,7 +41,7 @@ class PageDef : public DefinitionMutable, public Definition virtual QCString title() const = 0; virtual const GroupDef *getGroupDef() const = 0; virtual const PageLinkedRefMap &getSubPages() const = 0; - virtual void addInnerCompound(const Definition *) = 0; + virtual void addInnerCompound(Definition *) = 0; virtual bool visibleInIndex() const = 0; virtual bool documentedPage() const = 0; virtual bool hasSubPages() const = 0; @@ -60,7 +60,7 @@ class PageDef : public DefinitionMutable, public Definition }; -PageDef *createPageDef(const QCString &f,int l,const QCString &n,const QCString &d,const QCString &t); +std::unique_ptr<PageDef> createPageDef(const QCString &f,int l,const QCString &n,const QCString &d,const QCString &t); // --- Cast functions |