Parcourir la source

[1245] remove const for sunstudio build

Jelte Jansen il y a 13 ans
Parent
commit
fac67afcee
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/lib/dns/python/edns_python.cc

+ 1 - 1
src/lib/dns/python/edns_python.cc

@@ -177,7 +177,7 @@ EDNS_toText(const s_EDNS* const self) {
 }
 
 PyObject*
-EDNS_str(PyObject* const self) {
+EDNS_str(PyObject* self) {
     // Simply call the to_text method we already defined
     return (PyObject_CallMethod(self,
                                 const_cast<char*>("to_text"),