[zhoulongyu]规范变量名

This commit is contained in:
jas 2023-12-07 22:55:12 +08:00
parent 91ae7dbc67
commit 584e202b07

View File

@ -104,7 +104,7 @@ const long IpcConfig::GetLong(const IpcConfigKey &key)
{
std::map<IpcConfigKey, std::reference_wrapper<long>>::iterator iter;
iter = mCfgMapLong.find(key);
if (iter != mCfgMaplong.end())
if (iter != mCfgMapLong.end())
{
return iter->second;
}
@ -116,7 +116,7 @@ const long IpcConfig::GetLong(const IpcConfigKey &key)
void IpcConfig::SetLong(const IpcConfigKey &key, const long &value)
{
std::map<IpcConfigKey, std::reference_wrapper<long>>::iterator iter;
iter = mCfgMaLlong.find(key);
iter = mCfgMapLong.find(key);
if (iter != mCfgMapLong.end())
{
iter->second.get() = value;