Skip to content

Commit

Permalink
FLAMEGPU_SEATBELTS=OFF did not build
Browse files Browse the repository at this point in the history
This bug was introduced by #1116

Closes #1137
  • Loading branch information
Robadob committed Oct 28, 2023
1 parent 89d9302 commit c4ab1af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/flamegpu/simulation/CUDASimulation.h
Original file line number Diff line number Diff line change
Expand Up @@ -562,15 +562,15 @@ class CUDASimulation : public Simulation {
* Held here for tracking when to release cuda memory
*/
std::shared_ptr<detail::EnvironmentManager> environment;
/**
* Provides copies of strings (agent/state names) on device
*/
detail::DeviceStrings strings;
#if !defined(FLAMEGPU_SEATBELTS) || FLAMEGPU_SEATBELTS
/**
* Provides buffers for device error checking
*/
exception::DeviceExceptionManager exception;
/**
* Provides copies of strings (agent/state names) on device
*/
detail::DeviceStrings strings;
#endif
explicit Singletons(const std::shared_ptr<detail::EnvironmentManager> &environment) : environment(environment) { }
} * singletons;
Expand Down

0 comments on commit c4ab1af

Please sign in to comment.