We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5031564 commit 1fc23d6Copy full SHA for 1fc23d6
src/observer/net/ring_buffer.h
@@ -14,9 +14,7 @@ See the Mulan PSL v2 for more details. */
14
15
#pragma once
16
17
-#ifdef __MUSL__
18
-#include <cstdint>
19
-#endif
+#include <stdint.h>
20
21
#include "common/rc.h"
22
#include "common/lang/vector.h"
@@ -94,4 +92,4 @@ class RingBuffer
94
92
vector<char> buffer_; ///< 缓存使用的内存,使用vector方便管理
95
93
int32_t data_size_ = 0; ///< 已经写入的数据量
96
int32_t write_pos_ = 0; ///< 当前写指针的位置,范围不会超出[0, capacity)
97
-};
+};
0 commit comments