mirror of
https://github.com/boostorg/python.git
synced 2026-01-19 04:22:16 +00:00
noncopyable is located in the boost namespace
This commit is contained in:
committed by
Stefan Seefeld
parent
30dd3fe8b1
commit
0f1945060f
@@ -30,7 +30,7 @@ class Base
|
||||
{
|
||||
public:
|
||||
virtual char const* class_name() const { return "Base"; }
|
||||
virtual ~Base();
|
||||
virtual ~Base() {};
|
||||
};
|
||||
|
||||
bool is_base(Base* b)
|
||||
@@ -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)
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user