Fix gcc-11 etc. compilation errors
This commit is contained in:
		
							
								
								
									
										1
									
								
								cache/mapcache.h
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								cache/mapcache.h
									
									
									
									
										vendored
									
									
								
							@@ -3,6 +3,7 @@
 | 
			
		||||
#include <map>
 | 
			
		||||
#include <set>
 | 
			
		||||
#include <shared_mutex>
 | 
			
		||||
#include <optional>
 | 
			
		||||
 | 
			
		||||
/* Thread-Safe Key-Value store */
 | 
			
		||||
template <class T> class MapCache
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,6 @@
 | 
			
		||||
#ifndef PERMISSIONSDAO_H
 | 
			
		||||
#define PERMISSIONSDAO_H
 | 
			
		||||
#include <optional>
 | 
			
		||||
#include "../permissions.h"
 | 
			
		||||
#include "../user.h"
 | 
			
		||||
class PermissionsDao
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user