fixed compile error
This commit is contained in:
parent
57df624034
commit
33f4093823
6
user.h
6
user.h
@ -4,17 +4,17 @@
|
||||
|
||||
#include <string>
|
||||
#include <set>
|
||||
#include <vector>
|
||||
|
||||
#include <nlohmann/json.hpp>
|
||||
#include <vector>
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
using json = nlohmann::json;
|
||||
|
||||
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 {
|
||||
public:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user