Update copy/move constructors/operators
Former-commit-id: b1faeeae9211a6c0ca29261d46929dc8c66ea0c4
This commit is contained in:
@@ -15,11 +15,6 @@ NzParameterList::NzParameterList(const NzParameterList& list)
|
||||
operator=(list);
|
||||
}
|
||||
|
||||
NzParameterList::NzParameterList(NzParameterList&& list) :
|
||||
m_parameters(std::move(list.m_parameters))
|
||||
{
|
||||
}
|
||||
|
||||
NzParameterList::~NzParameterList()
|
||||
{
|
||||
Clear();
|
||||
@@ -421,12 +416,6 @@ NzParameterList& NzParameterList::operator=(const NzParameterList& list)
|
||||
return *this;
|
||||
}
|
||||
|
||||
NzParameterList& NzParameterList::operator=(NzParameterList&& list)
|
||||
{
|
||||
m_parameters = std::move(list.m_parameters);
|
||||
return *this;
|
||||
}
|
||||
|
||||
void NzParameterList::DestroyValue(Parameter& parameter)
|
||||
{
|
||||
switch (parameter.type)
|
||||
|
||||
@@ -24,7 +24,7 @@ m_impl(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
NzThread::NzThread(NzThread&& other) :
|
||||
NzThread::NzThread(NzThread&& other) noexcept :
|
||||
m_impl(other.m_impl)
|
||||
{
|
||||
other.m_impl = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user