From ab27971d8edcb3d19698d60e5468fb7d7145ec64 Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Mon, 28 Nov 2022 16:41:27 -0800 Subject: [PATCH] :bulb: comment clarification --- include/bank.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/bank.h b/include/bank.h index 28e0a65..d3556de 100644 --- a/include/bank.h +++ b/include/bank.h @@ -31,8 +31,8 @@ private: static ChangeFlag save_flag; #endif - //must grab as shared if the operation is gonna modify "users"'s size or can be caught in a intermediary state such as SendFunds() - //must grab as unique if the operation is gonna user iterators + // must grab as shared if the operation is gonna modify "users"'s size or can be caught in a intermediary state such as SendFunds() + // must grab as unique if the operation is gonna use user iterators static std::shared_mutex iter_lock; public: