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

win-ivcam: Remove and prohibit useless member functions

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