Skip to content

Commit

Permalink
noncopyable is located in the boost namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
CedricSchmeits authored and stefanseefeld committed Jan 4, 2021
1 parent 30dd3fe commit 0f19450
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/reference/call_method.qbk
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Base
{
public:
virtual char const* class_name() const { return "Base"; }
virtual ~Base();
virtual ~Base() {};
};

bool is_base(Base* b)
Expand Down Expand Up @@ -58,7 +58,7 @@ BOOST_PYTHON_MODULE(my_module)
{
def("is_base", is_base);

class_<Base,Base_callback, noncopyable>("Base")
class_<Base,Base_callback, boost::noncopyable>("Base")
.def("class_name", &Base_callback::Base_name)
;

Expand Down

0 comments on commit 0f19450

Please sign in to comment.