fixed compile error fr

This commit is contained in:
Benedikt Galbavy 2023-10-16 15:30:33 +02:00
parent 33f4093823
commit e372c03a19

2
user.h
View File

@ -14,7 +14,7 @@ using json = nlohmann::json;
template <typename T> template <typename T>
static const bool ptr_cmp(T* left, T* right) { return *left < *right; }; static const bool ptr_cmp(T* left, T* right) { return *left < *right; };
typedef std::set<mail*, decltype(ptr_cmp<mail*>)*> maillist; typedef std::set<mail*, decltype(ptr_cmp<mail>)*> maillist;
class user { class user {
public: public: