mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	clang-tidy: muted "use of memory after it is freed" in MemoryPool
This commit is contained in:
		| @@ -37,7 +37,8 @@ class MemoryPool { | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   void* buffer() { |   void* buffer() { | ||||||
|     return _begin; |     return _begin;  // NOLINT(clang-analyzer-unix.Malloc) | ||||||
|  |                     // movePointers() alters this pointer | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   // Gets the capacity of the memoryPool in bytes |   // Gets the capacity of the memoryPool in bytes | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user