herumi / mcl

a portable and fast pairing-based cryptography library
BSD 3-Clause "New" or "Revised" License
450 stars 151 forks source link

Updated `inline const CurveParam* getCurveParam(int type)` to return `nullptr` #178

Closed mxaddict closed 1 year ago

mxaddict commented 1 year ago

Updated inline const CurveParam* getCurveParam(int type) to return nullptr instead of 0 to keep clang-tidy happy

herumi commented 1 year ago

Thank you for the patch. I've already merged it at https://github.com/herumi/mcl/commit/0f652a4f29d141e0ae1697b1562bbce4c5ca3d84 .