diff --git a/src/CppParser/AST.cpp b/src/CppParser/AST.cpp index 5546c44f..5adcd64c 100644 --- a/src/CppParser/AST.cpp +++ b/src/CppParser/AST.cpp @@ -844,6 +844,8 @@ BlockContentComment::BlockContentComment(CommentKind Kind) : Comment(Kind) {} BlockCommandComment::Argument::Argument() {} +BlockCommandComment::Argument::Argument(const Argument& rhs) : Text(rhs.Text) {} + DEF_STRING(BlockCommandComment::Argument, Text) BlockCommandComment::BlockCommandComment() : BlockContentComment(CommentKind::BlockCommandComment), CommandId(0) {} diff --git a/src/CppParser/AST.h b/src/CppParser/AST.h index 5e187e5c..21ce35ec 100644 --- a/src/CppParser/AST.h +++ b/src/CppParser/AST.h @@ -957,6 +957,7 @@ public: { public: Argument(); + Argument(const Argument&); STRING(Text) }; BlockCommandComment();