Skip to content

Commit 4db0c96

Browse files
committed
fix: DomCorpus warning
1 parent a3389a2 commit 4db0c96

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

include/mrdox/Metadata/DomMetadata.hpp

+5-3
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,15 @@ class MRDOX_DECL
4040
Corpus const& corpus;
4141

4242
/** Destructor.
43-
44-
Ownership of the corpus is not released.
4543
*/
46-
~DomCorpus();
44+
virtual ~DomCorpus();
4745

4846
/** Constructor.
4947
48+
Ownership of the specified Corpus is not
49+
transferred; the caller is responsible for
50+
ensuring the lifetime extension of the object.
51+
5052
@param corpus The Corpus whose metadata to use.
5153
*/
5254
explicit

0 commit comments

Comments
 (0)