提交 ecf50826 编写于 作者: D Dmitry-Me

win-ivcam: Remove and prohibit useless member functions

上级 c5e1541c
......@@ -36,7 +36,6 @@ SegServerImpl::SegServerImpl()
m_sharedBuffer = NULL;
}
SegServerImpl::SegServerImpl(SegServerImpl const&) {};
SegServerImpl::~SegServerImpl()
{
if (m_server)
......@@ -46,7 +45,6 @@ SegServerImpl::~SegServerImpl()
}
instance = nullptr;
};
SegServerImpl& SegServerImpl::operator=(const SegServerImpl &) { return *this; };
SegServer* SegServerImpl::CreateServer()
{
......
......@@ -56,8 +56,8 @@ private:
LPCTSTR m_sharedBuffer;
SegServerImpl();
SegServerImpl(SegServerImpl const& src);
SegServerImpl& operator=(const SegServerImpl & src);
SegServerImpl(SegServerImpl const& src) = delete;
SegServerImpl& operator=(const SegServerImpl & src) = delete;
public:
virtual ~SegServerImpl();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册