FLAMEGPU/FLAMEGPU2

Incorrect singletons->string guarding

Closed this issue · 0 comments

#1116 introduced bug(s) related to the guarding of singletons->strings in CUDASimulation.cu.

strings is only defined as a member for builds with FLAMEGPU_SEATBELTS defined to a truthy value (i.e. not defined to 0).

However, it is used in places where those guards are not present as of 7a7944d.

This needs fixing (and we should add a FLAMEGPU_SEATBELTS=OFF build to CI to prevent this from occurring in the future, #1136).


Discovered by @daniele-baccega in #1135