X-Git-Url: http://plrg.eecs.uci.edu/git/?p=junction.git;a=blobdiff_plain;f=junction%2FConcurrentMap_LeapFrog.h;h=f6b1e6c0c24fd5f7d5d6a53542f10f899c2d9411;hp=389ce4088e145e2f5b631582083002ee6ce2b539;hb=9ff6f541ec9e73851a127ebcf465025e514ff7f6;hpb=28fa77bb667643e2ed0a9eb43331a07fe8cb1ba8;ds=sidebyside diff --git a/junction/ConcurrentMap_LeapFrog.h b/junction/ConcurrentMap_LeapFrog.h index 389ce40..f6b1e6c 100644 --- a/junction/ConcurrentMap_LeapFrog.h +++ b/junction/ConcurrentMap_LeapFrog.h @@ -133,6 +133,7 @@ public: Value exchangeValue(Value desired) { TURF_ASSERT(desired != Value(ValueTraits::NullValue)); + TURF_ASSERT(desired != Value(ValueTraits::Redirect)); TURF_ASSERT(m_cell); // Cell must have been found or inserted TURF_TRACE(ConcurrentMap_LeapFrog, 4, "[Mutator::exchangeValue] called", uptr(m_table), uptr(m_value)); for (;;) {