diff --git a/doc/v2/scope.html b/doc/v2/scope.html index 0dab0a70..20a29063 100644 --- a/doc/v2/scope.html +++ b/doc/v2/scope.html @@ -85,7 +85,7 @@ namespace boost { namespace python "../../../utility/utility.htm#Class noncopyable">noncopyable { public: - scope(object const&); + explicit scope(object const&); scope(); ~scope() }; @@ -95,7 +95,7 @@ namespace boost { namespace python
scope constructors
and destructor-scope(object const& x); +explicit scope(object const& x);Stores a reference to the current associated scope object, and sets the associated scope object to the one referred to by
x.ptr().
diff --git a/include/boost/python/scope.hpp b/include/boost/python/scope.hpp
index 7262f8da..086c7d87 100644
--- a/include/boost/python/scope.hpp
+++ b/include/boost/python/scope.hpp
@@ -16,7 +16,7 @@ class BOOST_PYTHON_DECL scope
: public object, private noncopyable
{
public:
- inline scope(object const&);
+ explicit inline scope(object const&);
inline scope();
inline ~scope();