SimpleBLE
SimpleBLE copied to clipboard
Improve const correctness of the C++ API
Const correctness is important for thread-safety and performance. This commit adds const qualifiers to member functions that do not mutate its object. Furthermore an internal() wrapper function is introduced to force const checks throughout the API.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.