File tree Expand file tree Collapse file tree
src/shambackends/include/shambackends Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -960,11 +960,10 @@ namespace sham {
960960 * @brief Resizes the buffer to a given size.
961961 *
962962 * @param new_size The new size of the buffer.
963+ * @param keep_data If `true`, the content of the buffer is preserved up to the minimum of
964+ * the old and new sizes. If `false`, the content may be discarded if a reallocation occurs.
963965 */
964- *@param new_size The new size of the buffer.*@param keep_data If `true `,
965- the content of the buffer is preserved up to the minimum of
966- the old and new sizes.If `false `,
967- the content may be discarded if a reallocation occurs.* / inline void resize (size_t new_size, bool keep_data = true ) {
966+ inline void resize (size_t new_size, bool keep_data = true ) {
968967
969968 auto dev_sched = hold.get_dev_scheduler_ptr ();
970969
You can’t perform that action at this time.
0 commit comments