Skip to content

Commit 55598ff

Browse files
committed
better
1 parent 09ca84e commit 55598ff

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/shambackends/include/shambackends/DeviceBuffer.hpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)