fixed friend declarations

This commit is contained in:
joaquintides
2023-07-23 14:39:23 +02:00
committed by Christian Mazakas
parent bf4a5efd2d
commit b206513a11
2 changed files with 2 additions and 2 deletions

View File

@ -431,7 +431,7 @@ class concurrent_table:
using arrays_type=typename super::arrays_type;
using size_ctrl_type=typename super::size_ctrl_type;
using compatible_nonconcurrent_table=table<TypePolicy,Hash,Pred,Allocator>;
friend class compatible_nonconcurrent_table;
friend compatible_nonconcurrent_table;
public:
using key_type=typename super::key_type;

View File

@ -292,7 +292,7 @@ class table:table_core_impl<TypePolicy,Hash,Pred,Allocator>
using locator=typename super::locator;
using compatible_concurrent_table=
concurrent_table<TypePolicy,Hash,Pred,Allocator>;
friend class compatible_concurrent_table;
friend compatible_concurrent_table;
public:
using key_type=typename super::key_type;