Skip to content

Commit

Permalink
Minor comment fix
Browse files Browse the repository at this point in the history
vitaut authored May 28, 2024
1 parent 43ab964 commit 33eba10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/fmt/args.h
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 33eba10

Please sign in to comment.