Minor comment fix

This commit is contained in:
Victor Zverovich 2024-05-28 11:39:49 -07:00 committed by GitHub
parent 43ab964c47
commit 33eba1049d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,11 +31,11 @@ auto unwrap(const std::reference_wrapper<T>& v) -> const T& {
}
// node is defined outside dynamic_arg_list to workaround a C2504 bug in MSVC
// 2022 (v17.10.0)
// 2022 (v17.10.0).
//
// Workaround for clang's -Wweak-vtables. Unlike for regular classes, for
// templates it doesn't complain about inability to deduce single translation
// unit for placing vtable. So storage_node_base is made a fake template.
// unit for placing vtable. So node is made a fake template.
template <typename = void> struct node {
virtual ~node() = default;
std::unique_ptr<node<>> next;