From 4a254f5ebfdf815a236cadc1ba8905a8175d8107 Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Mon, 25 Feb 2019 10:55:25 +0100 Subject: [PATCH 1/2] Fix -Wextra-semi clang warnings Remove superfluous semicola. --- include/boost/intrusive/bstree_algorithms.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/intrusive/bstree_algorithms.hpp b/include/boost/intrusive/bstree_algorithms.hpp index 006d9c2..9088911 100644 --- a/include/boost/intrusive/bstree_algorithms.hpp +++ b/include/boost/intrusive/bstree_algorithms.hpp @@ -564,7 +564,7 @@ class bstree_algorithms : public bstree_algorithms_base NodeTraits::set_parent(node, node_ptr()); NodeTraits::set_left(node, node_ptr()); NodeTraits::set_right(node, node_ptr()); - }; + } //! Effects: Returns true if node is in the same state as if called init(node) //! @@ -576,7 +576,7 @@ class bstree_algorithms : public bstree_algorithms_base return !NodeTraits::get_parent(node) && !NodeTraits::get_left(node) && !NodeTraits::get_right(node) ; - }; + } //! Requires: node must not be part of any tree. //! From 7afa686df2180c873ef599446c5e834ebd699fef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Wed, 27 Feb 2019 00:14:00 +0100 Subject: [PATCH 2/2] Update changelog with #39 --- doc/intrusive.qbk | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/intrusive.qbk b/doc/intrusive.qbk index cb5d075..b23eb6a 100644 --- a/doc/intrusive.qbk +++ b/doc/intrusive.qbk @@ -3887,6 +3887,7 @@ to be inserted in intrusive containers are allocated using `std::vector` or `std * [@https://github.com/boostorg/intrusive/pull/33 GitHub Pull #33: ['Fix compilation in case if key is void*, again]] * [@https://github.com/boostorg/intrusive/issues/35 GitHub Issue #35: ['key_of_value on treap_set seems to be broken in 1.69]] * [@https://github.com/boostorg/intrusive/issues/38 GitHub Issue #38: ['treap: Same type for priority and key comparison leads to ambiguous base class error]] + * [@https://github.com/boostorg/intrusive/pull/39 GitHub Pull #39: ['Fix -Wextra-semi clang warnings]] [endsect]