Created attachment 49238 [details] [review] 0001-poppler_document_new_from_data-Make-the-data-paramet.patch This patch means that application coders don't have to worry that the data will be changed and avoids the need for them to unconst.
I agree, but simply adding const there would break API/ABI compatibility, right?
(In reply to comment #1) > I agree, but simply adding const there would break API/ABI compatibility, > right? Yes, because this is C++. Maybe you can keep this open for some future ABI break. I didn't know how stable the API/ABI was meant to be now.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/100.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.