No need for MSGPACK_USE_CPP03 checks in c++11 specific file

This commit is contained in:
Dainis Jonitis 2015-07-09 16:13:04 +03:00
parent 7a131db2a0
commit 4f1e47aa78

View File

@ -97,7 +97,6 @@ private:
++m_tail;
}
#if !defined(MSGPACK_USE_CPP03)
finalizer_array(finalizer_array&& other) noexcept
:m_tail(other.m_tail), m_end(other.m_end), m_array(other.m_array)
{
@ -111,7 +110,7 @@ private:
new (this) finalizer_array(std::move(other));
return *this;
}
#endif
finalizer* m_tail;
finalizer* m_end;
finalizer* m_array;
@ -162,7 +161,6 @@ private:
m_free = chunk_size;
m_ptr = reinterpret_cast<char*>(m_head) + sizeof(chunk);
}
#if !defined(MSGPACK_USE_CPP03)
chunk_list(chunk_list&& other) noexcept
:m_free(other.m_free), m_ptr(other.m_ptr), m_head(other.m_head)
{
@ -174,7 +172,7 @@ private:
new (this) chunk_list(std::move(other));
return *this;
}
#endif
size_t m_free;
char* m_ptr;
chunk* m_head;