mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Fix warning messages
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
		
							parent
							
								
									440f8b0df4
								
							
						
					
					
						commit
						dc77141dce
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -21,6 +21,7 @@ Revision History:
 | 
			
		|||
#define _SMALL_OBJECT_ALLOCATOR_H_
 | 
			
		||||
 | 
			
		||||
#include"machine.h"
 | 
			
		||||
#include"debug.h"
 | 
			
		||||
 | 
			
		||||
class small_object_allocator {
 | 
			
		||||
    static const unsigned CHUNK_SIZE     = (8192 - sizeof(void*)*2);
 | 
			
		||||
| 
						 | 
				
			
			@ -52,8 +53,8 @@ public:
 | 
			
		|||
 | 
			
		||||
inline void * operator new(size_t s, small_object_allocator & r) { return r.allocate(s); }
 | 
			
		||||
inline void * operator new[](size_t s, small_object_allocator & r) { return r.allocate(s); }
 | 
			
		||||
inline void operator delete(void * p, size_t s, small_object_allocator & r) { r.deallocate(s,p); }
 | 
			
		||||
inline void operator delete[](void * p, size_t s, small_object_allocator & r) { r.deallocate(s,p); }
 | 
			
		||||
inline void operator delete(void * p, small_object_allocator & r) { UNREACHABLE(); }
 | 
			
		||||
inline void operator delete[](void * p, small_object_allocator & r) { UNREACHABLE(); }
 | 
			
		||||
 | 
			
		||||
#endif /* _SMALL_OBJECT_ALLOCATOR_H_ */
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue