Closed pstavirs closed 11 months ago
I removed the template methods in https://github.com/keygen-sh/example-cpp-cryptographic-license-files/commit/4a378498080ef053e73d75e6308e47183e2239f3.
Thanks Zeke!
Srivats
On Thu, Dec 7, 2023 at 10:03 PM Zeke Gabrielse @.***> wrote:
I removed the template methods in 4a37849 https://github.com/keygen-sh/example-cpp-cryptographic-license-files/commit/4a378498080ef053e73d75e6308e47183e2239f3 .
— Reply to this email directly, view it on GitHub https://github.com/keygen-sh/example-cpp-cryptographic-license-files/issues/10#issuecomment-1845663024, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACABSRZBXTC4QHZTK4FOGZ3YIHVV3AVCNFSM6AAAAABAHGWOAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBVGY3DGMBSGQ . You are receiving this because you authored the thread.Message ID: <keygen-sh/example-cpp-cryptographic-license-files/issues/10/1845663024@ github.com>
is_empty()
is defined assuming a struct withstd::string
(s) will be all zero - which may not be true. I fixed it using template specializations. Also included in PR #9.