avoided premature instantiation of concurrent_table

This commit is contained in:
joaquintides
2023-07-22 19:17:11 +02:00
committed by Christian Mazakas
parent 6994a37b23
commit 4be37cfdaf

View File

@ -507,9 +507,8 @@ private:
using compatible_concurrent_table=
concurrent_table<TypePolicy,Hash,Pred,Allocator>;
table(
compatible_concurrent_table&& x,
typename compatible_concurrent_table::exclusive_lock_guard):
template<typename ExclusiveLockGuard>
table(compatible_concurrent_table&& x,ExclusiveLockGuard):
super{
std::move(x.h()),std::move(x.pred()),std::move(x.al()),
arrays_type{