From 56e2e4345a7d0bc80536747f2b2d916ff98c0ccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Sat, 2 Jul 2016 23:10:03 +0200 Subject: [PATCH] Fixed Trac #12184 ("clang -Wdocumentation warning") --- include/boost/intrusive/slist.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/intrusive/slist.hpp b/include/boost/intrusive/slist.hpp index 5ce9329..0020699 100644 --- a/include/boost/intrusive/slist.hpp +++ b/include/boost/intrusive/slist.hpp @@ -1260,7 +1260,7 @@ class slist_impl if(l) *l = this->previous(this->cend()); } else{ - const_iterator last_x(x.previous(x.end())); //<- constant time if cache_last is active + const_iterator last_x(x.previous(x.end())); //constant time if cache_last is active node_ptr prev_n(prev.pointed_node()); node_ptr last_x_n(last_x.pointed_node()); if(cache_last){