Skip to content

Commit 1fc23d6

Browse files
authored
Update ring_buffer.h
1 parent 5031564 commit 1fc23d6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/observer/net/ring_buffer.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ See the Mulan PSL v2 for more details. */
1414

1515
#pragma once
1616

17-
#ifdef __MUSL__
18-
#include <cstdint>
19-
#endif
17+
#include <stdint.h>
2018

2119
#include "common/rc.h"
2220
#include "common/lang/vector.h"
@@ -94,4 +92,4 @@ class RingBuffer
9492
vector<char> buffer_; ///< 缓存使用的内存,使用vector方便管理
9593
int32_t data_size_ = 0; ///< 已经写入的数据量
9694
int32_t write_pos_ = 0; ///< 当前写指针的位置,范围不会超出[0, capacity)
97-
};
95+
};

0 commit comments

Comments
 (0)