Browse Source

[master] remove the const qualifier from RequestACL_destroy. sunstudio doesn't
seem to like this type of mismatch. Since the function is very short,
removing this const wouldn't matter much.

JINMEI Tatuya 13 years ago
parent
commit
7469b1f920
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/python/isc/acl/dns_requestacl_python.cc

+ 1 - 1
src/lib/python/isc/acl/dns_requestacl_python.cc

@@ -65,7 +65,7 @@ RequestACL_init(PyObject*, PyObject*, PyObject*) {
 }
 
 void
-RequestACL_destroy(PyObject* const po_self) {
+RequestACL_destroy(PyObject* po_self) {
     s_RequestACL* const self = static_cast<s_RequestACL*>(po_self);
     self->cppobj.reset();
     Py_TYPE(self)->tp_free(self);