From 2382dd8d61b8a725ac00c6ff7585e3b74d403bc3 Mon Sep 17 00:00:00 2001 From: arvidn Date: Sun, 30 Aug 2015 20:41:21 -0400 Subject: [PATCH] remove TODO comment --- include/libtorrent/linked_list.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/libtorrent/linked_list.hpp b/include/libtorrent/linked_list.hpp index ce471b89e..43de017ff 100644 --- a/include/libtorrent/linked_list.hpp +++ b/include/libtorrent/linked_list.hpp @@ -37,7 +37,6 @@ POSSIBILITY OF SUCH DAMAGE. namespace libtorrent { - // TODO: 3 enable_if T derives from list_node template struct list_node { @@ -65,6 +64,8 @@ namespace libtorrent }; // TOOD: 3 add a unit test + // T must derive from list_node. Having an enable_if here would require T + // to be a complete type, which is a bit too restrictive. template struct linked_list {