Skip to content

Commit 098f5f8

Browse files
committed
Remove comments referring to deprecated functions recently removed
1 parent 4b3f18a commit 098f5f8

1 file changed

Lines changed: 3 additions & 16 deletions

File tree

include/osmium/memory/buffer.hpp

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,6 @@ namespace osmium {
8787
* the buffer isn't used any more. If you don't have memory already, you can
8888
* create a Buffer object and have it manage the memory internally. It will
8989
* dynamically allocate memory and free it again after use.
90-
*
91-
* By default, if a buffer gets full it will throw a buffer_is_full exception.
92-
* You can use the set_full_callback() method to set a callback functor
93-
* which will be called instead of throwing an exception. The full
94-
* callback functionality is deprecated and will be removed in the
95-
* future. See the documentation for set_full_callback() for alternatives.
9690
*/
9791
class Buffer {
9892

@@ -500,18 +494,11 @@ namespace osmium {
500494
* Note that you have to eventually call commit() to actually
501495
* commit this data.
502496
*
503-
* If there isn't enough space in the buffer, one of three things
497+
* If there isn't enough space in the buffer, one of two things
504498
* can happen:
505499
*
506-
* * If you have set a callback with set_full_callback(), it is
507-
* called. After the call returns, you must have either grown
508-
* the buffer or cleared it by calling buffer.clear(). (Usage
509-
* of the full callback is deprecated and this functionality
510-
* will be removed in the future. See the documentation for
511-
* set_full_callback() for alternatives.
512-
* * If no callback is defined and this buffer uses internal
513-
* memory management, the buffers capacity is grown, so that
514-
* the new data will fit.
500+
* * If this buffer uses internal memory management, the buffers
501+
* capacity is grown, so that the new data will fit.
515502
* * Else the buffer_is_full exception is thrown.
516503
*
517504
* @pre The buffer must be valid.

0 commit comments

Comments
 (0)