Commit 7469b1f9 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[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.
parent b327d9aa
...@@ -65,7 +65,7 @@ RequestACL_init(PyObject*, PyObject*, PyObject*) { ...@@ -65,7 +65,7 @@ RequestACL_init(PyObject*, PyObject*, PyObject*) {
} }
void void
RequestACL_destroy(PyObject* const po_self) { RequestACL_destroy(PyObject* po_self) {
s_RequestACL* const self = static_cast<s_RequestACL*>(po_self); s_RequestACL* const self = static_cast<s_RequestACL*>(po_self);
self->cppobj.reset(); self->cppobj.reset();
Py_TYPE(self)->tp_free(self); Py_TYPE(self)->tp_free(self);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment