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: