Make function static.

GitOrigin-RevId: 6adf0dfbc3da005e9f6cd77a26621230a5fc37cd
This commit is contained in:
levlam 2018-09-13 23:07:30 +03:00
parent 95808d2230
commit 0d40ecd40b

View File

@ -35,7 +35,7 @@ static char buf2[BUF_SIZE];
static StringBuilder sb(MutableSlice(buf, 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>>();
res->init();
return res;