We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1759061 commit ff9cba2Copy full SHA for ff9cba2
docs/source/languages/cpp.md
@@ -419,7 +419,8 @@ Each root type will have a verification function generated for it,
419
e.g. for `Monster`, you can call:
420
421
```cpp
422
- bool ok = VerifyMonsterBuffer(Verifier(buf, len));
+ Verifier verifier(buf, len);
423
+ bool ok = VerifyMonsterBuffer(verifier);
424
```
425
426
if `ok` is true, the buffer is safe to read.
0 commit comments