changes
[model-checker-benchmarks.git] / concurrent-hashmap / hashmap_wildcard.h
index 557a918f8aca49ae7d3445db7e9a391b17638c4c..0713b782c9288d7101bf7de8427c2ae22a91333d 100644 (file)
@@ -178,9 +178,9 @@ class HashMap {
                                        return res;
                                else
                                        break;
-                               // Loading the next entry
-                               e = e->next.load(wildcard(5)); // acquire
                        }
+                       // Loading the next entry
+                       e = e->next.load(wildcard(5)); // acquire
                }
        
                // Recheck under synch if key apparently not there or interference