mirror of
https://github.com/JakeHillion/object-introspection.git
synced 2024-11-12 21:56:54 +00:00
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:
parent
24d707cf56
commit
cf583700fa
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user