aous72 / OpenJPH

Open-source implementation of JPEG2000 Part-15 (or JPH or HTJ2K)
BSD 2-Clause "Simplified" License
203 stars 49 forks source link

make comment_exchange string const #119

Closed bradh closed 9 months ago

bradh commented 9 months ago

The comment (string/data) is not modified, and can be const. This makes it easier to pass in something from C++ std::string.

This would be an API change, so OK if you'd prefer to drop it.

aous72 commented 9 months ago

All good. Thank you.