Make function static.
GitOrigin-RevId: 6adf0dfbc3da005e9f6cd77a26621230a5fc37cd
This commit is contained in:
parent
95808d2230
commit
0d40ecd40b
|
@ -35,7 +35,7 @@ static char buf2[BUF_SIZE];
|
||||||
static StringBuilder sb(MutableSlice(buf, BUF_SIZE - 1));
|
static StringBuilder sb(MutableSlice(buf, BUF_SIZE - 1));
|
||||||
static StringBuilder sb2(MutableSlice(buf2, BUF_SIZE - 1));
|
static StringBuilder sb2(MutableSlice(buf2, BUF_SIZE - 1));
|
||||||
|
|
||||||
auto create_queue() {
|
static auto create_queue() {
|
||||||
auto res = std::make_shared<MpscPollableQueue<EventFull>>();
|
auto res = std::make_shared<MpscPollableQueue<EventFull>>();
|
||||||
res->init();
|
res->init();
|
||||||
return res;
|
return res;
|
||||||
|
|
Reference in New Issue
Block a user