Skip to content

Commit

Permalink
remove typedef
Browse files Browse the repository at this point in the history
  • Loading branch information
mirostauder committed Mar 12, 2024
1 parent 8aee527 commit 9498508
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/gen_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<buffer_t> {
private:
Expand Down

0 comments on commit 9498508

Please sign in to comment.