From 8ad6da0281303043026615d26e31f9dad83cc9f9 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Fri, 1 Feb 2019 07:43:24 +0100 Subject: [PATCH] Fixed a build issue on MSVC --- src/tl/tl/tlList.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tl/tl/tlList.h b/src/tl/tl/tlList.h index 607fb27e7..0e35ed58b 100644 --- a/src/tl/tl/tlList.h +++ b/src/tl/tl/tlList.h @@ -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 () {