Specify namespace for IOBuf in IOBufQueue function

Things can fail if there are only IOBufQueue objects but no IOBuf
object. Just specify the namespace too.
This commit is contained in:
Aditya Sarwade 2023-07-18 16:59:36 -07:00 committed by Jake Hillion
parent ec9f98f0e1
commit 1334e08d05

View File

@ -20,7 +20,7 @@ void getSizeType(const %1% &container, size_t& returnArg)
{
SAVE_SIZE(sizeof(%1%));
const IOBuf *head = container.front();
const folly::IOBuf *head = container.front();
SAVE_DATA((uintptr_t)head);
if (head && pointers.add((uintptr_t)head)) {
SAVE_DATA(1);