diff --git a/bson/util/builder.h b/bson/util/builder.h index 23d8939c08f..1b39b27d88b 100644 --- a/bson/util/builder.h +++ b/bson/util/builder.h @@ -81,7 +81,9 @@ namespace mongo { } } - /* leave room for some stuff later */ + /** leave room for some stuff later + @return point to region that was skipped. pointer may change later (on realloc), so for immediate use only + */ char* skip(int n) { return grow(n); } /* note this may be deallocated (realloced) if you keep writing. */