Fixed a build issue on MSVC

This commit is contained in:
Matthias Koefferlein 2019-02-01 07:43:24 +01:00
parent f2fff5cca1
commit 8ad6da0281
1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ class list_node
public:
list_node () : mp_next (0), mp_prev (0), m_owned (true) { }
list_node (const list_node &) : mp_next (0), mp_prev (0), m_owned (true) { }
list_node &operator= (const list_node &) { }
list_node &operator= (const list_node &) { return *this; }
~list_node ()
{
@ -119,7 +119,7 @@ public:
}
list_impl (const list_impl &) { tl_assert (false); }
list_impl &operator= (const list_impl &) { tl_assert (false); }
list_impl &operator= (const list_impl &) { tl_assert (false); return *this; }
~list_impl ()
{