Skip to content

Commit

Permalink
issue: 3949975 Fix -Wtemplate-id-cdtor in xlio_list
Browse files Browse the repository at this point in the history
This fixes gcc-14 build.

Signed-off-by: Dmytro Podgornyi <dmytrop@nvidia.com>
  • Loading branch information
pasis committed Jun 13, 2024
1 parent 23c527e commit efe89ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/util/xlio_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ template <class T, size_t offset(void)> class xlio_list_t {
}
}

xlio_list_t<T, offset>(const xlio_list_t<T, offset> &other)
xlio_list_t(const xlio_list_t<T, offset> &other)
{
if (!other.empty()) {
vlist_logwarn("Copy constructor is not supported for non-empty list! other.size=%zu",
Expand Down

0 comments on commit efe89ee

Please sign in to comment.