From d4f97ec9743ae8e99be00849ba467486bdfa5f54 Mon Sep 17 00:00:00 2001 From: Denis Angell Date: Mon, 11 Nov 2024 21:03:01 +0100 Subject: [PATCH] [fold] remove tech debt --- src/ripple/basics/TaggedCache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ripple/basics/TaggedCache.h b/src/ripple/basics/TaggedCache.h index 785fce650..6765ff16b 100644 --- a/src/ripple/basics/TaggedCache.h +++ b/src/ripple/basics/TaggedCache.h @@ -350,7 +350,7 @@ public: auto cachedData = entry.lock(); - if (cachedData /* && entry.ptr*/) + if (cachedData) { if (replace(entry.ptr)) {