Skip to content

Commit 1ab0a5f

Browse files
committed
notify unifor m
Signed-off-by: Matt Benjamin <[email protected]>
1 parent 0ecc882 commit 1ab0a5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: bucket_cache.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ struct BucketCache : public Notifiable
356356
GetBucketResult gbr = get_bucket(bname, BucketCache::FLAG_LOCK);
357357
auto [b, flags] = gbr;
358358
if (b) {
359-
std::unique_lock<std::mutex> ulk(b->mtx, std::adopt_lock);
359+
std::unique_lock<std::mutex> ulk{b->mtx, std::adopt_lock};
360360
if ((b->name != bname) ||
361361
(b != opaque) ||
362362
(! (b->flags & Bucket::FLAG_FILLED))) {

0 commit comments

Comments
 (0)