aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:44:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:44:49 +0300
commit718c552901d703c502ccbefdfc3c9028d608b947 (patch)
tree46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/restricted/boost
parente9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff)
downloadydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/restricted/boost')
-rw-r--r--contrib/restricted/boost/boost/archive/basic_text_oprimitive.hpp4
-rw-r--r--contrib/restricted/boost/boost/config/detail/select_platform_config.hpp2
-rw-r--r--contrib/restricted/boost/boost/container/deque.hpp30
-rw-r--r--contrib/restricted/boost/boost/container/detail/iterators.hpp36
-rw-r--r--contrib/restricted/boost/boost/container/stable_vector.hpp26
-rw-r--r--contrib/restricted/boost/boost/container/vector.hpp24
-rw-r--r--contrib/restricted/boost/boost/hana/functional/curry.hpp4
-rw-r--r--contrib/restricted/boost/boost/intrusive/detail/hashtable_node.hpp30
-rw-r--r--contrib/restricted/boost/boost/intrusive/detail/list_iterator.hpp30
-rw-r--r--contrib/restricted/boost/boost/intrusive/detail/slist_iterator.hpp26
-rw-r--r--contrib/restricted/boost/boost/intrusive/detail/tree_iterator.hpp46
-rw-r--r--contrib/restricted/boost/boost/iostreams/copy.hpp2
-rw-r--r--contrib/restricted/boost/boost/iostreams/detail/adapter/concept_adapter.hpp4
-rw-r--r--contrib/restricted/boost/boost/iostreams/detail/functional.hpp16
-rw-r--r--contrib/restricted/boost/boost/lockfree/spsc_queue.hpp2
-rw-r--r--contrib/restricted/boost/boost/proto/context/callable.hpp4
-rw-r--r--contrib/restricted/boost/boost/proto/debug.hpp6
-rw-r--r--contrib/restricted/boost/boost/proto/detail/poly_function.hpp4
-rw-r--r--contrib/restricted/boost/boost/proto/expr.hpp22
-rw-r--r--contrib/restricted/boost/boost/proto/literal.hpp8
-rw-r--r--contrib/restricted/boost/boost/regex/v4/regex_iterator.hpp2
-rw-r--r--contrib/restricted/boost/boost/tuple/detail/tuple_basic.hpp6
-rw-r--r--contrib/restricted/boost/boost/xpressive/detail/core/matcher/alternate_matcher.hpp2
-rw-r--r--contrib/restricted/boost/boost/xpressive/detail/core/matcher/attr_matcher.hpp4
-rw-r--r--contrib/restricted/boost/boost/xpressive/detail/core/matcher/optional_matcher.hpp4
-rw-r--r--contrib/restricted/boost/boost/xpressive/detail/core/matcher/simple_repeat_matcher.hpp2
-rw-r--r--contrib/restricted/boost/boost/xpressive/detail/static/static.hpp2
-rw-r--r--contrib/restricted/boost/libs/python/src/converter/builtin_converters.cpp12
-rw-r--r--contrib/restricted/boost/libs/python/src/object/function.cpp8
29 files changed, 184 insertions, 184 deletions
diff --git a/contrib/restricted/boost/boost/archive/basic_text_oprimitive.hpp b/contrib/restricted/boost/boost/archive/basic_text_oprimitive.hpp
index 047019b13e..9549ee0ab9 100644
--- a/contrib/restricted/boost/boost/archive/basic_text_oprimitive.hpp
+++ b/contrib/restricted/boost/boost/archive/basic_text_oprimitive.hpp
@@ -166,9 +166,9 @@ protected:
// note: I've commented out the above because I didn't get good results. e.g.
// in one case I got a difference of 19 units.
#ifndef BOOST_NO_CXX11_NUMERIC_LIMITS
- const unsigned int digits = std::numeric_limits<T>::max_digits10;
+ const unsigned int digits = std::numeric_limits<T>::max_digits10;
#else
- const unsigned int digits = std::numeric_limits<T>::digits10 + 2;
+ const unsigned int digits = std::numeric_limits<T>::digits10 + 2;
#endif
os << std::setprecision(digits) << std::scientific << t;
}
diff --git a/contrib/restricted/boost/boost/config/detail/select_platform_config.hpp b/contrib/restricted/boost/boost/config/detail/select_platform_config.hpp
index 83400abebf..3c75a3ee4a 100644
--- a/contrib/restricted/boost/boost/config/detail/select_platform_config.hpp
+++ b/contrib/restricted/boost/boost/config/detail/select_platform_config.hpp
@@ -130,7 +130,7 @@
# include "boost/config/platform/aix.hpp"
# include "boost/config/platform/amigaos.hpp"
# include "boost/config/platform/qnxnto.hpp"
-#error #include "boost/config/platform/vxworks.hpp"
+#error #include "boost/config/platform/vxworks.hpp"
# include "boost/config/platform/symbian.hpp"
# include "boost/config/platform/cray.hpp"
# include "boost/config/platform/vms.hpp"
diff --git a/contrib/restricted/boost/boost/container/deque.hpp b/contrib/restricted/boost/boost/container/deque.hpp
index b8483ed775..86ac8dd6a6 100644
--- a/contrib/restricted/boost/boost/container/deque.hpp
+++ b/contrib/restricted/boost/boost/container/deque.hpp
@@ -127,12 +127,12 @@ class deque_iterator
, value_type&
>::type reference;
- class nat;
- typedef typename dtl::if_c< IsConst
- , deque_iterator<Pointer, false>
- , nat>::type nonconst_iterator;
-
- BOOST_CONTAINER_FORCEINLINE static std::size_t s_buffer_size()
+ class nat;
+ typedef typename dtl::if_c< IsConst
+ , deque_iterator<Pointer, false>
+ , nat>::type nonconst_iterator;
+
+ BOOST_CONTAINER_FORCEINLINE static std::size_t s_buffer_size()
{ return deque_buf_size<value_type>::value; }
typedef Pointer val_alloc_ptr;
@@ -159,22 +159,22 @@ class deque_iterator
: m_cur(), m_first(), m_last(), m_node() //Value initialization to achieve "null iterators" (N3644)
{}
- BOOST_CONTAINER_FORCEINLINE deque_iterator(const deque_iterator& x) BOOST_NOEXCEPT_OR_NOTHROW
- : m_cur(x.get_cur()), m_first(x.get_first()), m_last(x.get_last()), m_node(x.get_node())
- {}
-
- BOOST_CONTAINER_FORCEINLINE deque_iterator(const nonconst_iterator& x) BOOST_NOEXCEPT_OR_NOTHROW
+ BOOST_CONTAINER_FORCEINLINE deque_iterator(const deque_iterator& x) BOOST_NOEXCEPT_OR_NOTHROW
: m_cur(x.get_cur()), m_first(x.get_first()), m_last(x.get_last()), m_node(x.get_node())
{}
+ BOOST_CONTAINER_FORCEINLINE deque_iterator(const nonconst_iterator& x) BOOST_NOEXCEPT_OR_NOTHROW
+ : m_cur(x.get_cur()), m_first(x.get_first()), m_last(x.get_last()), m_node(x.get_node())
+ {}
+
deque_iterator(Pointer cur, Pointer first, Pointer last, index_pointer node) BOOST_NOEXCEPT_OR_NOTHROW
: m_cur(cur), m_first(first), m_last(last), m_node(node)
{}
- BOOST_CONTAINER_FORCEINLINE deque_iterator& operator=(const deque_iterator& x) BOOST_NOEXCEPT_OR_NOTHROW
- { m_cur = x.get_cur(); m_first = x.get_first(); m_last = x.get_last(); m_node = x.get_node(); return *this; }
-
- BOOST_CONTAINER_FORCEINLINE deque_iterator<Pointer, false> unconst() const BOOST_NOEXCEPT_OR_NOTHROW
+ BOOST_CONTAINER_FORCEINLINE deque_iterator& operator=(const deque_iterator& x) BOOST_NOEXCEPT_OR_NOTHROW
+ { m_cur = x.get_cur(); m_first = x.get_first(); m_last = x.get_last(); m_node = x.get_node(); return *this; }
+
+ BOOST_CONTAINER_FORCEINLINE deque_iterator<Pointer, false> unconst() const BOOST_NOEXCEPT_OR_NOTHROW
{
return deque_iterator<Pointer, false>(this->get_cur(), this->get_first(), this->get_last(), this->get_node());
}
diff --git a/contrib/restricted/boost/boost/container/detail/iterators.hpp b/contrib/restricted/boost/boost/container/detail/iterators.hpp
index 1676be8be9..d11241af7b 100644
--- a/contrib/restricted/boost/boost/container/detail/iterators.hpp
+++ b/contrib/restricted/boost/boost/container/detail/iterators.hpp
@@ -799,16 +799,16 @@ struct iterator_types<IIterator, false>
template<class IIterator, bool IsConst>
class iterator_from_iiterator
{
- typedef typename iterator_types<IIterator, IsConst>::type types_t;
- class nat
- {
- public:
- IIterator get() const
- { return IIterator(); }
- };
- typedef typename dtl::if_c< IsConst
- , iterator_from_iiterator<IIterator, false>
- , nat>::type nonconst_iterator;
+ typedef typename iterator_types<IIterator, IsConst>::type types_t;
+ class nat
+ {
+ public:
+ IIterator get() const
+ { return IIterator(); }
+ };
+ typedef typename dtl::if_c< IsConst
+ , iterator_from_iiterator<IIterator, false>
+ , nat>::type nonconst_iterator;
public:
typedef typename types_t::pointer pointer;
@@ -825,17 +825,17 @@ class iterator_from_iiterator
: m_iit(iit)
{}
- BOOST_CONTAINER_FORCEINLINE iterator_from_iiterator(const iterator_from_iiterator& other) BOOST_NOEXCEPT_OR_NOTHROW
+ BOOST_CONTAINER_FORCEINLINE iterator_from_iiterator(const iterator_from_iiterator& other) BOOST_NOEXCEPT_OR_NOTHROW
: m_iit(other.get())
{}
- BOOST_CONTAINER_FORCEINLINE iterator_from_iiterator(const nonconst_iterator& other) BOOST_NOEXCEPT_OR_NOTHROW
- : m_iit(other.get())
- {}
-
- BOOST_CONTAINER_FORCEINLINE iterator_from_iiterator& operator=(const iterator_from_iiterator& other) BOOST_NOEXCEPT_OR_NOTHROW
- { m_iit = other.get(); return *this; }
-
+ BOOST_CONTAINER_FORCEINLINE iterator_from_iiterator(const nonconst_iterator& other) BOOST_NOEXCEPT_OR_NOTHROW
+ : m_iit(other.get())
+ {}
+
+ BOOST_CONTAINER_FORCEINLINE iterator_from_iiterator& operator=(const iterator_from_iiterator& other) BOOST_NOEXCEPT_OR_NOTHROW
+ { m_iit = other.get(); return *this; }
+
BOOST_CONTAINER_FORCEINLINE iterator_from_iiterator& operator++() BOOST_NOEXCEPT_OR_NOTHROW
{ ++this->m_iit; return *this; }
diff --git a/contrib/restricted/boost/boost/container/stable_vector.hpp b/contrib/restricted/boost/boost/container/stable_vector.hpp
index 68bc261e84..a145e44bd9 100644
--- a/contrib/restricted/boost/boost/container/stable_vector.hpp
+++ b/contrib/restricted/boost/boost/container/stable_vector.hpp
@@ -253,10 +253,10 @@ class stable_vector_iterator
>::type pointer;
typedef boost::intrusive::pointer_traits<pointer> ptr_traits;
typedef typename ptr_traits::reference reference;
- class nat;
- typedef typename dtl::if_c< IsConst
- , stable_vector_iterator<Pointer, false>
- , nat>::type nonconst_iterator;
+ class nat;
+ typedef typename dtl::if_c< IsConst
+ , stable_vector_iterator<Pointer, false>
+ , nat>::type nonconst_iterator;
private:
typedef typename non_const_ptr_traits::template
@@ -284,18 +284,18 @@ class stable_vector_iterator
: m_pn() //Value initialization to achieve "null iterators" (N3644)
{}
- BOOST_CONTAINER_FORCEINLINE stable_vector_iterator(const stable_vector_iterator& other) BOOST_NOEXCEPT_OR_NOTHROW
+ BOOST_CONTAINER_FORCEINLINE stable_vector_iterator(const stable_vector_iterator& other) BOOST_NOEXCEPT_OR_NOTHROW
: m_pn(other.node_pointer())
{}
- stable_vector_iterator(const nonconst_iterator& other) BOOST_NOEXCEPT_OR_NOTHROW
- : m_pn(other.node_pointer())
- {}
-
- BOOST_CONTAINER_FORCEINLINE stable_vector_iterator & operator=(const stable_vector_iterator& other) BOOST_NOEXCEPT_OR_NOTHROW
- { m_pn = other.node_pointer(); return *this; }
-
- BOOST_CONTAINER_FORCEINLINE node_ptr node_pointer() const BOOST_NOEXCEPT_OR_NOTHROW
+ stable_vector_iterator(const nonconst_iterator& other) BOOST_NOEXCEPT_OR_NOTHROW
+ : m_pn(other.node_pointer())
+ {}
+
+ BOOST_CONTAINER_FORCEINLINE stable_vector_iterator & operator=(const stable_vector_iterator& other) BOOST_NOEXCEPT_OR_NOTHROW
+ { m_pn = other.node_pointer(); return *this; }
+
+ BOOST_CONTAINER_FORCEINLINE node_ptr node_pointer() const BOOST_NOEXCEPT_OR_NOTHROW
{ return node_ptr_traits::static_cast_from(m_pn); }
public:
diff --git a/contrib/restricted/boost/boost/container/vector.hpp b/contrib/restricted/boost/boost/container/vector.hpp
index 52e3c2391a..89529b2881 100644
--- a/contrib/restricted/boost/boost/container/vector.hpp
+++ b/contrib/restricted/boost/boost/container/vector.hpp
@@ -96,10 +96,10 @@ class vec_iterator
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
private:
Pointer m_ptr;
- class nat;
- typedef typename dtl::if_c< IsConst
- , vec_iterator<Pointer, false>
- , nat>::type nonconst_iterator;
+ class nat;
+ typedef typename dtl::if_c< IsConst
+ , vec_iterator<Pointer, false>
+ , nat>::type nonconst_iterator;
public:
BOOST_CONTAINER_FORCEINLINE const Pointer &get_ptr() const BOOST_NOEXCEPT_OR_NOTHROW
@@ -120,17 +120,17 @@ class vec_iterator
: m_ptr() //Value initialization to achieve "null iterators" (N3644)
{}
- BOOST_CONTAINER_FORCEINLINE vec_iterator(const vec_iterator& other) BOOST_NOEXCEPT_OR_NOTHROW
+ BOOST_CONTAINER_FORCEINLINE vec_iterator(const vec_iterator& other) BOOST_NOEXCEPT_OR_NOTHROW
: m_ptr(other.get_ptr())
{}
- BOOST_CONTAINER_FORCEINLINE vec_iterator(const nonconst_iterator &other) BOOST_NOEXCEPT_OR_NOTHROW
- : m_ptr(other.get_ptr())
- {}
-
- BOOST_CONTAINER_FORCEINLINE vec_iterator & operator=(const vec_iterator& other) BOOST_NOEXCEPT_OR_NOTHROW
- { m_ptr = other.get_ptr(); return *this; }
-
+ BOOST_CONTAINER_FORCEINLINE vec_iterator(const nonconst_iterator &other) BOOST_NOEXCEPT_OR_NOTHROW
+ : m_ptr(other.get_ptr())
+ {}
+
+ BOOST_CONTAINER_FORCEINLINE vec_iterator & operator=(const vec_iterator& other) BOOST_NOEXCEPT_OR_NOTHROW
+ { m_ptr = other.get_ptr(); return *this; }
+
//Pointer like operators
BOOST_CONTAINER_FORCEINLINE reference operator*() const BOOST_NOEXCEPT_OR_NOTHROW
{ return *m_ptr; }
diff --git a/contrib/restricted/boost/boost/hana/functional/curry.hpp b/contrib/restricted/boost/boost/hana/functional/curry.hpp
index 762718c208..b038856fa5 100644
--- a/contrib/restricted/boost/boost/hana/functional/curry.hpp
+++ b/contrib/restricted/boost/boost/hana/functional/curry.hpp
@@ -111,13 +111,13 @@ BOOST_HANA_NAMESPACE_BEGIN
template <std::size_t n>
constexpr make_curry_t<n> curry{};
- namespace curry_detail { namespace {
+ namespace curry_detail { namespace {
template <std::size_t n>
constexpr make_curry_t<n> curry_or_call{};
template <>
constexpr auto curry_or_call<0> = apply;
- }}
+ }}
template <std::size_t n, typename F>
struct curry_t {
diff --git a/contrib/restricted/boost/boost/intrusive/detail/hashtable_node.hpp b/contrib/restricted/boost/boost/intrusive/detail/hashtable_node.hpp
index 1d08d7537f..eabd325219 100644
--- a/contrib/restricted/boost/boost/intrusive/detail/hashtable_node.hpp
+++ b/contrib/restricted/boost/boost/intrusive/detail/hashtable_node.hpp
@@ -180,11 +180,11 @@ class hashtable_iterator
<pointer>::template rebind_pointer
< const BucketValueTraits >::type const_bucketvaltraits_ptr;
typedef typename slist_impl::size_type size_type;
- class nat;
- typedef typename
- detail::if_c< IsConst
- , hashtable_iterator<BucketValueTraits, false>
- , nat>::type nonconst_iterator;
+ class nat;
+ typedef typename
+ detail::if_c< IsConst
+ , hashtable_iterator<BucketValueTraits, false>
+ , nat>::type nonconst_iterator;
BOOST_INTRUSIVE_FORCEINLINE static node_ptr downcast_bucket(typename bucket_type::node_ptr p)
{
@@ -198,19 +198,19 @@ class hashtable_iterator
: slist_it_() //Value initialization to achieve "null iterators" (N3644)
{}
- BOOST_INTRUSIVE_FORCEINLINE explicit hashtable_iterator(siterator ptr, const BucketValueTraits *cont)
+ BOOST_INTRUSIVE_FORCEINLINE explicit hashtable_iterator(siterator ptr, const BucketValueTraits *cont)
: slist_it_ (ptr)
, traitsptr_ (cont ? pointer_traits<const_bucketvaltraits_ptr>::pointer_to(*cont) : const_bucketvaltraits_ptr() )
{}
- BOOST_INTRUSIVE_FORCEINLINE hashtable_iterator(const hashtable_iterator &other)
- : slist_it_(other.slist_it()), traitsptr_(other.get_bucket_value_traits())
- {}
-
- BOOST_INTRUSIVE_FORCEINLINE hashtable_iterator(const nonconst_iterator &other)
+ BOOST_INTRUSIVE_FORCEINLINE hashtable_iterator(const hashtable_iterator &other)
: slist_it_(other.slist_it()), traitsptr_(other.get_bucket_value_traits())
{}
+ BOOST_INTRUSIVE_FORCEINLINE hashtable_iterator(const nonconst_iterator &other)
+ : slist_it_(other.slist_it()), traitsptr_(other.get_bucket_value_traits())
+ {}
+
BOOST_INTRUSIVE_FORCEINLINE const siterator &slist_it() const
{ return slist_it_; }
@@ -220,10 +220,10 @@ class hashtable_iterator
BOOST_INTRUSIVE_FORCEINLINE hashtable_iterator& operator++()
{ this->increment(); return *this; }
- BOOST_INTRUSIVE_FORCEINLINE hashtable_iterator &operator=(const hashtable_iterator &other)
- { slist_it_ = other.slist_it(); traitsptr_ = other.get_bucket_value_traits(); return *this; }
-
- BOOST_INTRUSIVE_FORCEINLINE hashtable_iterator operator++(int)
+ BOOST_INTRUSIVE_FORCEINLINE hashtable_iterator &operator=(const hashtable_iterator &other)
+ { slist_it_ = other.slist_it(); traitsptr_ = other.get_bucket_value_traits(); return *this; }
+
+ BOOST_INTRUSIVE_FORCEINLINE hashtable_iterator operator++(int)
{
hashtable_iterator result (*this);
this->increment();
diff --git a/contrib/restricted/boost/boost/intrusive/detail/list_iterator.hpp b/contrib/restricted/boost/boost/intrusive/detail/list_iterator.hpp
index 08ba8a3775..77b0db1b5e 100644
--- a/contrib/restricted/boost/boost/intrusive/detail/list_iterator.hpp
+++ b/contrib/restricted/boost/boost/intrusive/detail/list_iterator.hpp
@@ -47,11 +47,11 @@ class list_iterator
typedef typename types_t::node node;
typedef typename types_t::node_ptr node_ptr;
typedef typename types_t::const_value_traits_ptr const_value_traits_ptr;
- class nat;
- typedef typename
- detail::if_c< IsConst
- , list_iterator<value_traits, false>
- , nat>::type nonconst_iterator;
+ class nat;
+ typedef typename
+ detail::if_c< IsConst
+ , list_iterator<value_traits, false>
+ , nat>::type nonconst_iterator;
public:
typedef typename types_t::iterator_type::difference_type difference_type;
@@ -67,22 +67,22 @@ class list_iterator
: members_(nodeptr, traits_ptr)
{}
- BOOST_INTRUSIVE_FORCEINLINE list_iterator(const list_iterator &other)
+ BOOST_INTRUSIVE_FORCEINLINE list_iterator(const list_iterator &other)
: members_(other.pointed_node(), other.get_value_traits())
{}
- BOOST_INTRUSIVE_FORCEINLINE list_iterator(const nonconst_iterator &other)
- : members_(other.pointed_node(), other.get_value_traits())
- {}
-
- BOOST_INTRUSIVE_FORCEINLINE list_iterator &operator=(const list_iterator &other)
- { members_.nodeptr_ = other.members_.nodeptr_; return *this; }
-
+ BOOST_INTRUSIVE_FORCEINLINE list_iterator(const nonconst_iterator &other)
+ : members_(other.pointed_node(), other.get_value_traits())
+ {}
+
+ BOOST_INTRUSIVE_FORCEINLINE list_iterator &operator=(const list_iterator &other)
+ { members_.nodeptr_ = other.members_.nodeptr_; return *this; }
+
BOOST_INTRUSIVE_FORCEINLINE const node_ptr &pointed_node() const
{ return members_.nodeptr_; }
BOOST_INTRUSIVE_FORCEINLINE list_iterator &operator=(const node_ptr &node)
- { members_.nodeptr_ = node; return *this; }
+ { members_.nodeptr_ = node; return *this; }
BOOST_INTRUSIVE_FORCEINLINE const_value_traits_ptr get_value_traits() const
{ return members_.get_ptr(); }
@@ -127,7 +127,7 @@ class list_iterator
BOOST_INTRUSIVE_FORCEINLINE pointer operator->() const
{ return this->operator_arrow(detail::bool_<stateful_value_traits>()); }
- BOOST_INTRUSIVE_FORCEINLINE list_iterator<ValueTraits, false> unconst() const
+ BOOST_INTRUSIVE_FORCEINLINE list_iterator<ValueTraits, false> unconst() const
{ return list_iterator<ValueTraits, false>(this->pointed_node(), this->get_value_traits()); }
private:
diff --git a/contrib/restricted/boost/boost/intrusive/detail/slist_iterator.hpp b/contrib/restricted/boost/boost/intrusive/detail/slist_iterator.hpp
index a78e63f074..0baa0c6fd4 100644
--- a/contrib/restricted/boost/boost/intrusive/detail/slist_iterator.hpp
+++ b/contrib/restricted/boost/boost/intrusive/detail/slist_iterator.hpp
@@ -49,11 +49,11 @@ class slist_iterator
typedef typename types_t::node node;
typedef typename types_t::node_ptr node_ptr;
typedef typename types_t::const_value_traits_ptr const_value_traits_ptr;
- class nat;
- typedef typename
- detail::if_c< IsConst
- , slist_iterator<value_traits, false>
- , nat>::type nonconst_iterator;
+ class nat;
+ typedef typename
+ detail::if_c< IsConst
+ , slist_iterator<value_traits, false>
+ , nat>::type nonconst_iterator;
public:
typedef typename types_t::iterator_type::difference_type difference_type;
@@ -69,17 +69,17 @@ class slist_iterator
: members_(nodeptr, traits_ptr)
{}
- BOOST_INTRUSIVE_FORCEINLINE slist_iterator(const slist_iterator &other)
+ BOOST_INTRUSIVE_FORCEINLINE slist_iterator(const slist_iterator &other)
: members_(other.pointed_node(), other.get_value_traits())
{}
- BOOST_INTRUSIVE_FORCEINLINE slist_iterator(const nonconst_iterator &other)
- : members_(other.pointed_node(), other.get_value_traits())
- {}
-
- BOOST_INTRUSIVE_FORCEINLINE slist_iterator &operator=(const slist_iterator &other)
- { members_.nodeptr_ = other.members_.nodeptr_; return *this; }
-
+ BOOST_INTRUSIVE_FORCEINLINE slist_iterator(const nonconst_iterator &other)
+ : members_(other.pointed_node(), other.get_value_traits())
+ {}
+
+ BOOST_INTRUSIVE_FORCEINLINE slist_iterator &operator=(const slist_iterator &other)
+ { members_.nodeptr_ = other.members_.nodeptr_; return *this; }
+
BOOST_INTRUSIVE_FORCEINLINE const node_ptr &pointed_node() const
{ return members_.nodeptr_; }
diff --git a/contrib/restricted/boost/boost/intrusive/detail/tree_iterator.hpp b/contrib/restricted/boost/boost/intrusive/detail/tree_iterator.hpp
index 41988cf180..d22287cc58 100644
--- a/contrib/restricted/boost/boost/intrusive/detail/tree_iterator.hpp
+++ b/contrib/restricted/boost/boost/intrusive/detail/tree_iterator.hpp
@@ -55,11 +55,11 @@ class tree_iterator
void unspecified_bool_type_func() const {}
typedef void (tree_iterator::*unspecified_bool_type)() const;
- class nat;
- typedef typename
- detail::if_c< IsConst
- , tree_iterator<value_traits, false>
- , nat>::type nonconst_iterator;
+ class nat;
+ typedef typename
+ detail::if_c< IsConst
+ , tree_iterator<value_traits, false>
+ , nat>::type nonconst_iterator;
public:
typedef typename types_t::iterator_type::difference_type difference_type;
@@ -75,28 +75,28 @@ class tree_iterator
: members_(nodeptr, traits_ptr)
{}
- BOOST_INTRUSIVE_FORCEINLINE tree_iterator(const tree_iterator &other)
+ BOOST_INTRUSIVE_FORCEINLINE tree_iterator(const tree_iterator &other)
: members_(other.pointed_node(), other.get_value_traits())
{}
- BOOST_INTRUSIVE_FORCEINLINE tree_iterator(const nonconst_iterator &other)
- : members_(other.pointed_node(), other.get_value_traits())
- {}
-
- BOOST_INTRUSIVE_FORCEINLINE tree_iterator &operator=(const tree_iterator &other)
- { members_.nodeptr_ = other.members_.nodeptr_; return *this; }
+ BOOST_INTRUSIVE_FORCEINLINE tree_iterator(const nonconst_iterator &other)
+ : members_(other.pointed_node(), other.get_value_traits())
+ {}
+ BOOST_INTRUSIVE_FORCEINLINE tree_iterator &operator=(const tree_iterator &other)
+ { members_.nodeptr_ = other.members_.nodeptr_; return *this; }
+
BOOST_INTRUSIVE_FORCEINLINE tree_iterator &operator=(const node_ptr &nodeptr)
- { members_.nodeptr_ = nodeptr; return *this; }
-
- BOOST_INTRUSIVE_FORCEINLINE node_ptr pointed_node() const
- { return members_.nodeptr_; }
+ { members_.nodeptr_ = nodeptr; return *this; }
+ BOOST_INTRUSIVE_FORCEINLINE node_ptr pointed_node() const
+ { return members_.nodeptr_; }
+
public:
- BOOST_INTRUSIVE_FORCEINLINE tree_iterator& operator++()
+ BOOST_INTRUSIVE_FORCEINLINE tree_iterator& operator++()
{
members_.nodeptr_ = node_algorithms::next_node(members_.nodeptr_);
- return *this;
+ return *this;
}
tree_iterator operator++(int)
@@ -106,10 +106,10 @@ class tree_iterator
return result;
}
- BOOST_INTRUSIVE_FORCEINLINE tree_iterator& operator--()
+ BOOST_INTRUSIVE_FORCEINLINE tree_iterator& operator--()
{
members_.nodeptr_ = node_algorithms::prev_node(members_.nodeptr_);
- return *this;
+ return *this;
}
tree_iterator operator--(int)
@@ -122,19 +122,19 @@ class tree_iterator
BOOST_INTRUSIVE_FORCEINLINE tree_iterator& go_left()
{
members_.nodeptr_ = node_traits::get_left(members_.nodeptr_);
- return *this;
+ return *this;
}
BOOST_INTRUSIVE_FORCEINLINE tree_iterator& go_right()
{
members_.nodeptr_ = node_traits::get_right(members_.nodeptr_);
- return *this;
+ return *this;
}
BOOST_INTRUSIVE_FORCEINLINE tree_iterator& go_parent()
{
members_.nodeptr_ = node_traits::get_parent(members_.nodeptr_);
- return *this;
+ return *this;
}
BOOST_INTRUSIVE_FORCEINLINE operator unspecified_bool_type() const
diff --git a/contrib/restricted/boost/boost/iostreams/copy.hpp b/contrib/restricted/boost/boost/iostreams/copy.hpp
index 6260ea9374..b023d26728 100644
--- a/contrib/restricted/boost/boost/iostreams/copy.hpp
+++ b/contrib/restricted/boost/boost/iostreams/copy.hpp
@@ -159,7 +159,7 @@ public:
is_direct<Source>(), is_direct<Sink>() );
}
private:
- BOOST_DELETED_FUNCTION(copy_operation& operator=(const copy_operation&));
+ BOOST_DELETED_FUNCTION(copy_operation& operator=(const copy_operation&));
Source& src_;
Sink& snk_;
std::streamsize buffer_size_;
diff --git a/contrib/restricted/boost/boost/iostreams/detail/adapter/concept_adapter.hpp b/contrib/restricted/boost/boost/iostreams/detail/adapter/concept_adapter.hpp
index 3a76b3fb38..c000a95474 100644
--- a/contrib/restricted/boost/boost/iostreams/detail/adapter/concept_adapter.hpp
+++ b/contrib/restricted/boost/boost/iostreams/detail/adapter/concept_adapter.hpp
@@ -117,8 +117,8 @@ public:
std::streamsize optimal_buffer_size() const
{ return iostreams::optimal_buffer_size(t_); }
-private:
- BOOST_DELETED_FUNCTION(concept_adapter& operator=(const concept_adapter&));
+private:
+ BOOST_DELETED_FUNCTION(concept_adapter& operator=(const concept_adapter&));
value_type t_;
};
diff --git a/contrib/restricted/boost/boost/iostreams/detail/functional.hpp b/contrib/restricted/boost/boost/iostreams/detail/functional.hpp
index e4b4a98b89..96eeb640b2 100644
--- a/contrib/restricted/boost/boost/iostreams/detail/functional.hpp
+++ b/contrib/restricted/boost/boost/iostreams/detail/functional.hpp
@@ -38,7 +38,7 @@ public:
{ }
void operator()() const { boost::iostreams::close(t_, which_); }
private:
- BOOST_DELETED_FUNCTION(device_close_operation& operator=(const device_close_operation&));
+ BOOST_DELETED_FUNCTION(device_close_operation& operator=(const device_close_operation&));
T& t_;
BOOST_IOS::openmode which_;
};
@@ -52,7 +52,7 @@ public:
{ }
void operator()() const { boost::iostreams::close(t_, snk_, which_); }
private:
- BOOST_DELETED_FUNCTION(filter_close_operation& operator=(const filter_close_operation&));
+ BOOST_DELETED_FUNCTION(filter_close_operation& operator=(const filter_close_operation&));
T& t_;
Sink& snk_;
BOOST_IOS::openmode which_;
@@ -78,7 +78,7 @@ public:
device_close_all_operation(T& t) : t_(t) { }
void operator()() const { detail::close_all(t_); }
private:
- BOOST_DELETED_FUNCTION(device_close_all_operation& operator=(const device_close_all_operation&));
+ BOOST_DELETED_FUNCTION(device_close_all_operation& operator=(const device_close_all_operation&));
T& t_;
};
@@ -89,7 +89,7 @@ public:
filter_close_all_operation(T& t, Sink& snk) : t_(t), snk_(snk) { }
void operator()() const { detail::close_all(t_, snk_); }
private:
- BOOST_DELETED_FUNCTION(filter_close_all_operation& operator=(const filter_close_all_operation&));
+ BOOST_DELETED_FUNCTION(filter_close_all_operation& operator=(const filter_close_all_operation&));
T& t_;
Sink& snk_;
};
@@ -115,7 +115,7 @@ public:
{ }
void operator()() const { t_.close(which_); }
private:
- BOOST_DELETED_FUNCTION(member_close_operation& operator=(const member_close_operation&));
+ BOOST_DELETED_FUNCTION(member_close_operation& operator=(const member_close_operation&));
T& t_;
BOOST_IOS::openmode which_;
};
@@ -133,7 +133,7 @@ public:
reset_operation(T& t) : t_(t) { }
void operator()() const { t_.reset(); }
private:
- BOOST_DELETED_FUNCTION(reset_operation& operator=(const reset_operation&));
+ BOOST_DELETED_FUNCTION(reset_operation& operator=(const reset_operation&));
T& t_;
};
@@ -149,7 +149,7 @@ public:
clear_flags_operation(T& t) : t_(t) { }
void operator()() const { t_ = 0; }
private:
- BOOST_DELETED_FUNCTION(clear_flags_operation& operator=(const clear_flags_operation&));
+ BOOST_DELETED_FUNCTION(clear_flags_operation& operator=(const clear_flags_operation&));
T& t_;
};
@@ -173,7 +173,7 @@ public:
buf_.flush(dev_);
}
private:
- BOOST_DELETED_FUNCTION(flush_buffer_operation& operator=(const flush_buffer_operation&));
+ BOOST_DELETED_FUNCTION(flush_buffer_operation& operator=(const flush_buffer_operation&));
Buffer& buf_;
Device& dev_;
bool flush_;
diff --git a/contrib/restricted/boost/boost/lockfree/spsc_queue.hpp b/contrib/restricted/boost/boost/lockfree/spsc_queue.hpp
index c7f2953fea..59516c6859 100644
--- a/contrib/restricted/boost/boost/lockfree/spsc_queue.hpp
+++ b/contrib/restricted/boost/boost/lockfree/spsc_queue.hpp
@@ -17,7 +17,7 @@
#include <boost/assert.hpp>
#include <boost/static_assert.hpp>
#include <boost/utility.hpp>
-#include <boost/next_prior.hpp>
+#include <boost/next_prior.hpp>
#include <boost/utility/enable_if.hpp>
#include <boost/config.hpp> // for BOOST_LIKELY
diff --git a/contrib/restricted/boost/boost/proto/context/callable.hpp b/contrib/restricted/boost/boost/proto/context/callable.hpp
index 3d6c1971f3..ac67522e09 100644
--- a/contrib/restricted/boost/boost/proto/context/callable.hpp
+++ b/contrib/restricted/boost/boost/proto/context/callable.hpp
@@ -42,8 +42,8 @@ namespace boost { namespace proto
callable_context_wrapper();
typedef private_type_ fun_type(...);
operator fun_type *() const;
-
- BOOST_DELETED_FUNCTION(callable_context_wrapper &operator =(callable_context_wrapper const &))
+
+ BOOST_DELETED_FUNCTION(callable_context_wrapper &operator =(callable_context_wrapper const &))
};
template<typename T>
diff --git a/contrib/restricted/boost/boost/proto/debug.hpp b/contrib/restricted/boost/boost/proto/debug.hpp
index 59b3dd740e..fb9d91ee3e 100644
--- a/contrib/restricted/boost/boost/proto/debug.hpp
+++ b/contrib/restricted/boost/boost/proto/debug.hpp
@@ -92,7 +92,7 @@ namespace boost { namespace proto
std::ostream &sout_;
- BOOST_DELETED_FUNCTION(ostream_wrapper &operator =(ostream_wrapper const &))
+ BOOST_DELETED_FUNCTION(ostream_wrapper &operator =(ostream_wrapper const &))
};
struct named_any
@@ -127,8 +127,8 @@ namespace boost { namespace proto
this->impl(expr, mpl::long_<arity_of<Expr>::value>());
}
- BOOST_DELETED_FUNCTION(display_expr_impl(display_expr_impl const &))
- BOOST_DELETED_FUNCTION(display_expr_impl &operator =(display_expr_impl const &))
+ BOOST_DELETED_FUNCTION(display_expr_impl(display_expr_impl const &))
+ BOOST_DELETED_FUNCTION(display_expr_impl &operator =(display_expr_impl const &))
private:
template<typename Expr>
diff --git a/contrib/restricted/boost/boost/proto/detail/poly_function.hpp b/contrib/restricted/boost/boost/proto/detail/poly_function.hpp
index 421f20a0cf..dad2893867 100644
--- a/contrib/restricted/boost/boost/proto/detail/poly_function.hpp
+++ b/contrib/restricted/boost/boost/proto/detail/poly_function.hpp
@@ -111,7 +111,7 @@ namespace boost { namespace proto { namespace detail
return this->value;
}
- BOOST_DELETED_FUNCTION(arg &operator =(arg const &))
+ BOOST_DELETED_FUNCTION(arg &operator =(arg const &))
private:
type value;
};
@@ -135,7 +135,7 @@ namespace boost { namespace proto { namespace detail
return this->value;
}
- BOOST_DELETED_FUNCTION(arg &operator =(arg const &))
+ BOOST_DELETED_FUNCTION(arg &operator =(arg const &))
private:
type value;
};
diff --git a/contrib/restricted/boost/boost/proto/expr.hpp b/contrib/restricted/boost/boost/proto/expr.hpp
index 87862cf6bd..b5e36baba3 100644
--- a/contrib/restricted/boost/boost/proto/expr.hpp
+++ b/contrib/restricted/boost/boost/proto/expr.hpp
@@ -132,21 +132,21 @@ namespace boost { namespace proto
// actually defined:
#include <boost/proto/detail/basic_expr.hpp>
- #if defined(__GNUC__) && __GNUC__ >= 9 || defined(__clang__) && __clang_major__ >= 10 && !defined(__apple_build_version__)
- #pragma GCC diagnostic push
- // The warning cannot be fixed for aggregates
- // Sadly, GCC currently emits the warning at the use location:
- // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94492
- #pragma GCC diagnostic ignored "-Wdeprecated-copy"
- #endif
-
+ #if defined(__GNUC__) && __GNUC__ >= 9 || defined(__clang__) && __clang_major__ >= 10 && !defined(__apple_build_version__)
+ #pragma GCC diagnostic push
+ // The warning cannot be fixed for aggregates
+ // Sadly, GCC currently emits the warning at the use location:
+ // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94492
+ #pragma GCC diagnostic ignored "-Wdeprecated-copy"
+ #endif
+
// This is where the expr specialization are
// actually defined:
#include <boost/proto/detail/expr.hpp>
-
+
#if defined(__GNUC__) && __GNUC__ >= 9 || defined(__clang__) && __clang_major__ >= 10 && !defined(__apple_build_version__)
- #pragma GCC diagnostic pop
- #endif
+ #pragma GCC diagnostic pop
+ #endif
}
/// \brief Lets you inherit the interface of an expression
diff --git a/contrib/restricted/boost/boost/proto/literal.hpp b/contrib/restricted/boost/boost/proto/literal.hpp
index d72211bc13..ab9277d832 100644
--- a/contrib/restricted/boost/boost/proto/literal.hpp
+++ b/contrib/restricted/boost/boost/proto/literal.hpp
@@ -50,10 +50,10 @@ namespace boost { namespace proto
: base_type(terminal_type::make(T()))
{}
-#ifndef BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
- literal(literal const &) = default;
-#endif
-
+#ifndef BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
+ literal(literal const &) = default;
+#endif
+
template<typename U>
literal(U &u)
: base_type(terminal_type::make(u))
diff --git a/contrib/restricted/boost/boost/regex/v4/regex_iterator.hpp b/contrib/restricted/boost/boost/regex/v4/regex_iterator.hpp
index 52c1681b4c..e37e3d09d6 100644
--- a/contrib/restricted/boost/boost/regex/v4/regex_iterator.hpp
+++ b/contrib/restricted/boost/boost/regex/v4/regex_iterator.hpp
@@ -78,7 +78,7 @@ public:
return result;
}
private:
- regex_iterator_implementation& operator=(const regex_iterator_implementation&) = default;
+ regex_iterator_implementation& operator=(const regex_iterator_implementation&) = default;
};
template <class BidirectionalIterator,
diff --git a/contrib/restricted/boost/boost/tuple/detail/tuple_basic.hpp b/contrib/restricted/boost/boost/tuple/detail/tuple_basic.hpp
index 1ed421660e..b9afe6e2e5 100644
--- a/contrib/restricted/boost/boost/tuple/detail/tuple_basic.hpp
+++ b/contrib/restricted/boost/boost/tuple/detail/tuple_basic.hpp
@@ -309,7 +309,7 @@ struct cons {
tail (t2, t3, t4, t5, t6, t7, t8, t9, t10, detail::cnull())
{}
- cons( const cons& u ) : head(u.head), tail(u.tail) {}
+ cons( const cons& u ) : head(u.head), tail(u.tail) {}
template <class HT2, class TT2>
cons( const cons<HT2, TT2>& u ) : head(u.head), tail(u.tail) {}
@@ -389,8 +389,8 @@ struct cons<HT, null_type> {
const null_type&, const null_type&, const null_type&)
: head () {}
- cons( const cons& u ) : head(u.head) {}
-
+ cons( const cons& u ) : head(u.head) {}
+
template <class HT2>
cons( const cons<HT2, null_type>& u ) : head(u.head) {}
diff --git a/contrib/restricted/boost/boost/xpressive/detail/core/matcher/alternate_matcher.hpp b/contrib/restricted/boost/boost/xpressive/detail/core/matcher/alternate_matcher.hpp
index ad58fce6eb..0e203602b9 100644
--- a/contrib/restricted/boost/boost/xpressive/detail/core/matcher/alternate_matcher.hpp
+++ b/contrib/restricted/boost/boost/xpressive/detail/core/matcher/alternate_matcher.hpp
@@ -119,7 +119,7 @@ namespace boost { namespace xpressive { namespace detail
}
private:
- alternate_matcher &operator =(alternate_matcher const &) = delete;
+ alternate_matcher &operator =(alternate_matcher const &) = delete;
bool can_match_(char_type ch, Traits const &tr) const
{
diff --git a/contrib/restricted/boost/boost/xpressive/detail/core/matcher/attr_matcher.hpp b/contrib/restricted/boost/boost/xpressive/detail/core/matcher/attr_matcher.hpp
index 06cfdeab62..ac3bb4dc99 100644
--- a/contrib/restricted/boost/boost/xpressive/detail/core/matcher/attr_matcher.hpp
+++ b/contrib/restricted/boost/boost/xpressive/detail/core/matcher/attr_matcher.hpp
@@ -42,7 +42,7 @@ namespace boost { namespace xpressive { namespace detail
return this->traits_.translate(ch1);
}
private:
- char_translate &operator =(char_translate const &) = delete;
+ char_translate &operator =(char_translate const &) = delete;
};
///////////////////////////////////////////////////////////////////////////////
@@ -63,7 +63,7 @@ namespace boost { namespace xpressive { namespace detail
return this->traits_.translate_nocase(ch1);
}
private:
- char_translate &operator =(char_translate const &) = delete;
+ char_translate &operator =(char_translate const &) = delete;
};
///////////////////////////////////////////////////////////////////////////////
diff --git a/contrib/restricted/boost/boost/xpressive/detail/core/matcher/optional_matcher.hpp b/contrib/restricted/boost/boost/xpressive/detail/core/matcher/optional_matcher.hpp
index 71c8c86af6..0cba7b90c4 100644
--- a/contrib/restricted/boost/boost/xpressive/detail/core/matcher/optional_matcher.hpp
+++ b/contrib/restricted/boost/boost/xpressive/detail/core/matcher/optional_matcher.hpp
@@ -55,7 +55,7 @@ namespace boost { namespace xpressive { namespace detail
|| this->xpr_.BOOST_NESTED_TEMPLATE push_match<Next>(state);
}
- optional_matcher &operator =(optional_matcher const &) = delete;
+ optional_matcher &operator =(optional_matcher const &) = delete;
};
///////////////////////////////////////////////////////////////////////////////
@@ -113,7 +113,7 @@ namespace boost { namespace xpressive { namespace detail
|| this->xpr_.BOOST_NESTED_TEMPLATE push_match<Next>(state);
}
- optional_mark_matcher &operator =(optional_mark_matcher const &) = delete;
+ optional_mark_matcher &operator =(optional_mark_matcher const &) = delete;
};
}}}
diff --git a/contrib/restricted/boost/boost/xpressive/detail/core/matcher/simple_repeat_matcher.hpp b/contrib/restricted/boost/boost/xpressive/detail/core/matcher/simple_repeat_matcher.hpp
index 3e75f85b38..986758af8a 100644
--- a/contrib/restricted/boost/boost/xpressive/detail/core/matcher/simple_repeat_matcher.hpp
+++ b/contrib/restricted/boost/boost/xpressive/detail/core/matcher/simple_repeat_matcher.hpp
@@ -216,7 +216,7 @@ namespace boost { namespace xpressive { namespace detail
}
private:
- simple_repeat_matcher &operator =(simple_repeat_matcher const &) = delete;
+ simple_repeat_matcher &operator =(simple_repeat_matcher const &) = delete;
};
// BUGBUG can all non-greedy quantification be done with the fixed width quantifier?
diff --git a/contrib/restricted/boost/boost/xpressive/detail/static/static.hpp b/contrib/restricted/boost/boost/xpressive/detail/static/static.hpp
index 4f01ab8637..5ea972d3ac 100644
--- a/contrib/restricted/boost/boost/xpressive/detail/static/static.hpp
+++ b/contrib/restricted/boost/boost/xpressive/detail/static/static.hpp
@@ -176,7 +176,7 @@ struct static_xpression
private:
- static_xpression &operator =(static_xpression const &) = delete;
+ static_xpression &operator =(static_xpression const &) = delete;
template<typename Char>
void peek_next_(mpl::true_, xpression_peeker<Char> &peeker) const
diff --git a/contrib/restricted/boost/libs/python/src/converter/builtin_converters.cpp b/contrib/restricted/boost/libs/python/src/converter/builtin_converters.cpp
index ee2d5b4794..f1b6e072fe 100644
--- a/contrib/restricted/boost/libs/python/src/converter/builtin_converters.cpp
+++ b/contrib/restricted/boost/libs/python/src/converter/builtin_converters.cpp
@@ -45,16 +45,16 @@ namespace
{
return PyString_Check(obj) ? PyString_AsString(obj) : 0;
}
-#elif PY_VERSION_HEX < 0x03070000
+#elif PY_VERSION_HEX < 0x03070000
void* convert_to_cstring(PyObject* obj)
{
return PyUnicode_Check(obj) ? _PyUnicode_AsString(obj) : 0;
}
-#else
- void* convert_to_cstring(PyObject* obj)
- {
- return PyUnicode_Check(obj) ? const_cast<void*>(reinterpret_cast<const void*>(_PyUnicode_AsString(obj))) : 0;
- }
+#else
+ void* convert_to_cstring(PyObject* obj)
+ {
+ return PyUnicode_Check(obj) ? const_cast<void*>(reinterpret_cast<const void*>(_PyUnicode_AsString(obj))) : 0;
+ }
#endif
// Given a target type and a SlotPolicy describing how to perform a
diff --git a/contrib/restricted/boost/libs/python/src/object/function.cpp b/contrib/restricted/boost/libs/python/src/object/function.cpp
index e15eb3ffc0..7027b2d893 100644
--- a/contrib/restricted/boost/libs/python/src/object/function.cpp
+++ b/contrib/restricted/boost/libs/python/src/object/function.cpp
@@ -449,9 +449,9 @@ void function::add_to_namespace(
if (dict == 0)
throw_error_already_set();
- assert(!PyErr_Occurred());
+ assert(!PyErr_Occurred());
handle<> existing(allow_null(::PyObject_GetItem(dict.get(), name.ptr())));
- PyErr_Clear();
+ PyErr_Clear();
if (existing)
{
@@ -492,10 +492,10 @@ void function::add_to_namespace(
if (new_func->name().is_none())
new_func->m_name = name;
- assert(!PyErr_Occurred());
+ assert(!PyErr_Occurred());
handle<> name_space_name(
allow_null(::PyObject_GetAttrString(name_space.ptr(), const_cast<char*>("__name__"))));
- PyErr_Clear();
+ PyErr_Clear();
if (name_space_name)
new_func->m_namespace = object(name_space_name);