Skip to content

Commit ba89710

Browse files
committed
javadoc list nodes
1 parent c54dc26 commit ba89710

File tree

3 files changed

+350
-189
lines changed

3 files changed

+350
-189
lines changed

include/mrdox/meta/Javadoc.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ struct Javadoc
102102
String text_,
103103
Kind kind_ = Kind::text)
104104
: Node(kind_)
105-
, text(std::move(text))
105+
, text(std::move(text_))
106106
{
107107
}
108108
};
@@ -190,7 +190,7 @@ struct Javadoc
190190
void
191191
append(Child&& node)
192192
{
193-
static_assert(std::is_base_of<Node, Child>);
193+
static_assert(std::is_base_of_v<Node, Child>);
194194

195195
list_.emplace_back<Child>(std::forward<Child>(node));
196196
}

0 commit comments

Comments
 (0)