mirror of
https://github.com/allankoechke/jwt-cpp.git
synced 2026-11-30 10:18:40 +00:00
Merge pull request #83 from matze/fix-non-virtual-dtor
Add virtual dtor to algo_base
This commit is contained in:
@@ -1692,6 +1692,7 @@ namespace jwt {
|
||||
template<typename Clock, typename json_traits>
|
||||
class verifier {
|
||||
struct algo_base {
|
||||
virtual ~algo_base() = default;
|
||||
virtual void verify(const std::string& data, const std::string& sig) = 0;
|
||||
};
|
||||
template<typename T>
|
||||
|
||||
Reference in New Issue
Block a user