diff options
Diffstat (limited to 'source/blender/simulation/intern/simulation_solver_influences.hh')
-rw-r--r-- | source/blender/simulation/intern/simulation_solver_influences.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/simulation/intern/simulation_solver_influences.hh b/source/blender/simulation/intern/simulation_solver_influences.hh index d7914819d36..7dc0b3b8c8d 100644 --- a/source/blender/simulation/intern/simulation_solver_influences.hh +++ b/source/blender/simulation/intern/simulation_solver_influences.hh @@ -96,7 +96,7 @@ class SimulationStateMap { template<typename StateType> StateType *lookup(StringRef name) const { const char *type = BKE_simulation_get_state_type_name<StateType>(); - return (StateType *)this->lookup_name_type(name, type); + return reinterpret_cast<StateType *>(this->lookup_name_type(name, type)); } template<typename StateType> Span<StateType *> lookup() const |