优化代码,去除编译警告,修复拼写错误

This commit is contained in:
ziyue
2022-08-08 17:36:07 +08:00
parent 9c3b8a6a95
commit 35791aac89
11 changed files with 57 additions and 44 deletions

View File

@@ -111,10 +111,10 @@ private:
/**
* cookie随机字符串生成器
*/
class RandStrGeneator {
class RandStrGenerator {
public:
RandStrGeneator() = default;
~RandStrGeneator() = default;
RandStrGenerator() = default;
~RandStrGenerator() = default;
/**
* 获取不碰撞的随机字符串
@@ -244,7 +244,7 @@ private:
_map_uid_to_cookie;
std::recursive_mutex _mtx_cookie;
toolkit::Timer::Ptr _timer;
RandStrGeneator _geneator;
RandStrGenerator _generator;
};
} // namespace mediakit