commit | b49767c0bacb714e14f988423e14832689c6faf2 | [log] [tgz] |
---|---|---|
author | Mikhail Lappo <miklelappo@gmail.com> | Thu Mar 23 21:44:26 2017 +0100 |
committer | Mikhail Lappo <miklelappo@gmail.com> | Thu Mar 23 21:52:30 2017 +0100 |
tree | d9263ecace61d37381854e4dcc5d41cc514173b2 | |
parent | 20791bdcd7caad0e3ad3adedf7f9f932da278d96 [diff] [blame] |
Const modifiers This functions do not change class variables Would be good to mark them as const, so class variables are not changed by coincidence Change-Id: Iea34f6d26dbd1bde813035160e07ff2a681989e6
diff --git a/verifier.cpp b/verifier.cpp index e9d540c..23142c1 100644 --- a/verifier.cpp +++ b/verifier.cpp
@@ -370,7 +370,7 @@ } struct BNDeleter { - void operator()(BIGNUM* bn) { + void operator()(BIGNUM* bn) const { BN_free(bn); } };