Home GnuPG

ReaderStatus: use a std::function in Transaction struct

Description

ReaderStatus: use a std::function in Transaction struct

This way we can use lambdas instead of method names as char* and get
compile-time type checking, which makes removing Q_PRIVATE_SLOT calls less
worrying, it'll just fail to compile.

Details

Provenance
Ahmad Samir <a.samirh78@gmail.com>Authored on May 13 2022, 10:02 PM
Parents
rKLEOPATRA04d953455bdf: Manage lifetime of validators with shared pointers
Branches
Unknown
Tags
Unknown

Event Timeline

Ahmad Samir <a.samirh78@gmail.com> committed rKLEOPATRAbd72100e94cf: ReaderStatus: use a std::function in Transaction struct (authored by Ahmad Samir <a.samirh78@gmail.com>).May 19 2022, 10:41 PM