fix compilation when macro SRSLTE_BUFFER_POOL_LOG_ENABLED is enabled

master
Andre Puschmann 5 years ago
parent 30aac5a89a
commit 98ac39e617

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

Loading…
Cancel
Save