Add missing namespace to folly::IOBuf container TOML

Required for CodeGen v2, which does not add "using namespace xxx" and
uses fully qualified names instead.
This commit is contained in:
Alastair Robertson 2023-06-28 10:26:23 -07:00 committed by Alastair Robertson
parent 24d707cf56
commit cf583700fa

View File

@ -28,7 +28,7 @@ void getSizeType(const %1% &container, size_t& returnArg)
std::size_t fullLength = container.length();
std::size_t fullCapacity = container.capacity();
for (const IOBuf* current = container.next(); current != &container;
for (const folly::IOBuf* current = container.next(); current != &container;
current = current->next()) {
fullLength += current->length();
fullCapacity += current->capacity();