Skip to content

Commit

Permalink
fix typo in allocator selection (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
TedHartMS committed Apr 12, 2024
1 parent 1bb9ab8 commit 49b315b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ internal void IncrementNumLockingSessions()

bool isFixedLenReviv = true;

if (!Utility.IsBlittable<Key>() && !Utility.IsBlittable<Value>())
if (!Utility.IsBlittable<Key>() || !Utility.IsBlittable<Value>())
{
hlog = new GenericAllocator<Key, Value>(logSettings, serializerSettings, this.comparer, null, epoch, logger: logger ?? loggerFactory?.CreateLogger("GenericAllocator HybridLog"));
Log = new LogAccessor<Key, Value>(this, hlog);
Expand Down

0 comments on commit 49b315b

Please sign in to comment.