mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-11-01 08:48:30 +01:00 
			
		
		
		
	Renamed JsonBuffer to MemoryPool
This commit is contained in:
		| @@ -7,19 +7,19 @@ | ||||
| namespace ArduinoJson { | ||||
| namespace Internals { | ||||
|  | ||||
| template <typename TJsonBuffer> | ||||
| template <typename TMemoryPool> | ||||
| class StringCopier { | ||||
|  public: | ||||
|   StringCopier(TJsonBuffer& jb) : _jb(&jb) {} | ||||
|   StringCopier(TMemoryPool& memoryPool) : _memoryPool(&memoryPool) {} | ||||
|  | ||||
|   typedef typename TJsonBuffer::String String; | ||||
|   typedef typename TMemoryPool::String String; | ||||
|  | ||||
|   String startString() { | ||||
|     return _jb->startString(); | ||||
|     return _memoryPool->startString(); | ||||
|   } | ||||
|  | ||||
|  private: | ||||
|   TJsonBuffer* _jb; | ||||
|   TMemoryPool* _memoryPool; | ||||
| }; | ||||
| }  // namespace Internals | ||||
| }  // namespace ArduinoJson | ||||
|   | ||||
		Reference in New Issue
	
	Block a user