mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-20 23:32:22 +08:00
优化代码,去除编译警告,修复拼写错误
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user