rnatm

Load and structure data describing an atmosphere
git clone git://git.meso-star.fr/rnatm.git
Log | Files | Refs | README | LICENSE

commit 82ce95cee9c84e23557b7320882dc4ef5a2a0f24
parent 3c2706e9667454fced321db4a1c18fde546dda21
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon, 25 Sep 2023 17:04:17 +0200

Fix dynamic array of acceleration structures

The definition of its copy functor was incorrect: it used its
"copy_and_release" function instead of its "copy" function.

Diffstat:
Msrc/rnatm_c.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rnatm_c.h b/src/rnatm_c.h @@ -215,7 +215,7 @@ accel_struct_copy_and_release #define DARRAY_DATA struct accel_struct #define DARRAY_FUNCTOR_INIT accel_struct_init #define DARRAY_FUNCTOR_RELEASE accel_struct_release -#define DARRAY_FUNCTOR_COPY accel_struct_copy_and_release +#define DARRAY_FUNCTOR_COPY accel_struct_copy #define DARRAY_FUNCTOR_COPY_AND_RELEASE accel_struct_copy_and_release #include <rsys/dynamic_array.h>