Fix gcc-11 etc. compilation errors

This commit is contained in:
Albert S. 2021-10-25 13:30:46 +02:00
parent b41a5f4e5b
commit 0aa4bca6cc
3 changed files with 3 additions and 0 deletions

1
cache/mapcache.h vendored
View File

@ -3,6 +3,7 @@
#include <map> #include <map>
#include <set> #include <set>
#include <shared_mutex> #include <shared_mutex>
#include <optional>
/* Thread-Safe Key-Value store */ /* Thread-Safe Key-Value store */
template <class T> class MapCache template <class T> class MapCache

View File

@ -1,5 +1,6 @@
#ifndef PERMISSIONSDAO_H #ifndef PERMISSIONSDAO_H
#define PERMISSIONSDAO_H #define PERMISSIONSDAO_H
#include <optional>
#include "../permissions.h" #include "../permissions.h"
#include "../user.h" #include "../user.h"
class PermissionsDao class PermissionsDao

View File

@ -8,6 +8,7 @@
#include <map> #include <map>
#include <regex> #include <regex>
#include <ctime> #include <ctime>
#include <limits>
namespace utils namespace utils
{ {