Merge pull request #1470 from Dmitry-Me/removeAndProhibitCopy01

win-ivcam: Remove and prohibit useless member functions
master
Jim 2018-09-05 15:18:17 -07:00 committed by GitHub
commit 61c95101d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -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()
{

View File

@ -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();