From 89f7c7eef6135a82379408d22a618f966a2c17da Mon Sep 17 00:00:00 2001 From: JackyWoo Date: Mon, 1 Nov 2021 13:26:25 +0800 Subject: [PATCH] fix check style error --- src/Coordination/SnapshotableHashTable.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Coordination/SnapshotableHashTable.h b/src/Coordination/SnapshotableHashTable.h index 499164ccd83..d1ed7d822aa 100644 --- a/src/Coordination/SnapshotableHashTable.h +++ b/src/Coordination/SnapshotableHashTable.h @@ -76,7 +76,7 @@ private: { approximate_data_size += key_size; approximate_data_size += value_size; - if(!snapshot_mode) + if (!snapshot_mode) { approximate_data_size += key_size; approximate_data_size -= old_value_size; @@ -92,14 +92,14 @@ private: case UPDATE_VALUE: approximate_data_size += key_size; approximate_data_size += value_size; - if(!snapshot_mode) + if (!snapshot_mode) { approximate_data_size -= key_size; approximate_data_size -= old_value_size; } break; case ERASE: - if(!snapshot_mode) + if (!snapshot_mode) { approximate_data_size -= key_size; approximate_data_size -= old_value_size;