fix compilation when macro SRSLTE_BUFFER_POOL_LOG_ENABLED is enabled

This commit is contained in:
Andre Puschmann 2019-11-15 15:58:45 +01:00
parent 30aac5a89a
commit 98ac39e617
1 changed files with 3 additions and 0 deletions

View File

@ -60,6 +60,9 @@ public:
void reset() { msg[0] = '\0'; }
char* str() { return msg; }
uint32_t get_buffer_size() { return size; }
#ifdef SRSLTE_BUFFER_POOL_LOG_ENABLED
char debug_name[SRSLTE_BUFFER_POOL_LOG_NAME_LEN] = {};
#endif
private:
uint32_t size;