Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RingBuffer.h 函数问题 #31

Closed
LYCUESTC opened this issue Dec 10, 2017 · 1 comment
Closed

RingBuffer.h 函数问题 #31

LYCUESTC opened this issue Dec 10, 2017 · 1 comment

Comments

@LYCUESTC
Copy link

LZ您好!
RingBuffer.h 中下面这个函数EmplaceIndex,主要作用干啥的呢?当客户端连接到服务器这边的时候,走到m_indexes.emplace(dwIndex);一直报错。
void EmplaceIndex(index_type dwIndex)
{
CWriteLock locallock(m_cs);
// m_indexes.emplace(dwIndex);
}

@ldcsaa
Copy link
Owner

ldcsaa commented Dec 11, 2017

自己好好检查代码,不可能这里出错。

@ldcsaa ldcsaa closed this as completed Dec 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants