2
0
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:
Cedric Schmeits
2020-10-20 17:14:01 +02:00
committed by Stefan Seefeld
parent 30dd3fe8b1
commit 0f1945060f

View File

@@ -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)
;