[Bf-blender-cvs] [698af2e774b] master: Try to fix build error

Jacques Lucke noreply at git.blender.org
Fri Jul 24 00:36:05 CEST 2020


Commit: 698af2e774b54088664d513ed1ea4dd843e03e38
Author: Jacques Lucke
Date:   Fri Jul 24 00:35:51 2020 +0200
Branches: master
https://developer.blender.org/rB698af2e774b54088664d513ed1ea4dd843e03e38

Try to fix build error

Not sure if this is the correct fix, because I can't reproduce the error.

===================================================================

M	source/blender/simulation/intern/particle_mesh_emitter.cc
M	source/blender/simulation/intern/particle_mesh_emitter.hh

===================================================================

diff --git a/source/blender/simulation/intern/particle_mesh_emitter.cc b/source/blender/simulation/intern/particle_mesh_emitter.cc
index 486cd1142c3..15a6bffa884 100644
--- a/source/blender/simulation/intern/particle_mesh_emitter.cc
+++ b/source/blender/simulation/intern/particle_mesh_emitter.cc
@@ -28,6 +28,8 @@
 
 namespace blender::sim {
 
+ParticleMeshEmitter::~ParticleMeshEmitter() = default;
+
 struct EmitterSettings {
   Object *object;
   float rate;
diff --git a/source/blender/simulation/intern/particle_mesh_emitter.hh b/source/blender/simulation/intern/particle_mesh_emitter.hh
index 8ad7b6f15f2..601697c9986 100644
--- a/source/blender/simulation/intern/particle_mesh_emitter.hh
+++ b/source/blender/simulation/intern/particle_mesh_emitter.hh
@@ -39,6 +39,8 @@ class ParticleMeshEmitter final : public ParticleEmitter {
   {
   }
 
+  ~ParticleMeshEmitter();
+
   void emit(ParticleEmitterContext &context) const override;
 };



More information about the Bf-blender-cvs mailing list