Skip to content

Commit 0f19450

Browse files
CedricSchmeitsstefanseefeld
authored andcommitted
noncopyable is located in the boost namespace
1 parent 30dd3fe commit 0f19450

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/reference/call_method.qbk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Base
3030
{
3131
public:
3232
virtual char const* class_name() const { return "Base"; }
33-
virtual ~Base();
33+
virtual ~Base() {};
3434
};
3535

3636
bool is_base(Base* b)
@@ -58,7 +58,7 @@ BOOST_PYTHON_MODULE(my_module)
5858
{
5959
def("is_base", is_base);
6060

61-
class_<Base,Base_callback, noncopyable>("Base")
61+
class_<Base,Base_callback, boost::noncopyable>("Base")
6262
.def("class_name", &Base_callback::Base_name)
6363
;
6464

0 commit comments

Comments
 (0)