diff --git a/include/gen_utils.h b/include/gen_utils.h index 95c1ec0107..4eb6e1c9c0 100644 --- a/include/gen_utils.h +++ b/include/gen_utils.h @@ -190,11 +190,11 @@ class PtrSizeArray { } }; -typedef struct { - void* data = nullptr; - size_t len = 0; +struct buffer_t { + void * data = nullptr; + size_t len = 0; size_t capacity = 0; -} buffer_t; +}; class FixedSizeQueue : public std::queue { private: