SimpleBLE icon indicating copy to clipboard operation
SimpleBLE copied to clipboard

Improve const correctness of the C++ API

Open frankencode opened this issue 1 year ago • 1 comments

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.

frankencode avatar May 26 '24 20:05 frankencode

CLA assistant check
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.

CLAassistant avatar Jun 29 '24 06:06 CLAassistant