mirror of
https://github.com/JakeHillion/object-introspection.git
synced 2024-11-09 21:24:14 +00:00
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:
parent
ec9f98f0e1
commit
1334e08d05
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user