Browse Source

improve switch (#1228)

uzhastik 1 year ago
parent
commit
20f72990b0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      ydb/core/util/cache_cache.h

+ 1 - 0
ydb/core/util/cache_cache.h

@@ -110,6 +110,7 @@ public:
         case TCacheCacheConfig::CacheGenNone: // place in fresh
         case TCacheCacheConfig::CacheGenEvicted: // corner case: was evicted from staging and touched in same update
             AddToFresh(item, evictedList);
+	    [[fallthrough]];
         case TCacheCacheConfig::CacheGenFresh: // just update inside fresh
             xitem->Unlink();
             FreshList.PushFront(xitem);