Commit: 45c44a5b5b6251835cfd21f64c59ee23472941de
Author: Brecht Van Lommel
Date:   Thu Sep 9 17:10:09 2021 +0200
Branches: master
https://developer.blender.org/rB45c44a5b5b6251835cfd21f64c59ee23472941de

Fix compiler warnings about virtual functions but non-virtual destructor

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

M       source/blender/functions/FN_field.hh

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

diff --git a/source/blender/functions/FN_field.hh 
b/source/blender/functions/FN_field.hh
index 25188531580..79a6faf499b 100644
--- a/source/blender/functions/FN_field.hh
+++ b/source/blender/functions/FN_field.hh
@@ -69,7 +69,7 @@ class FieldNode {
   {
   }
 
-  ~FieldNode() = default;
+  virtual ~FieldNode() = default;
 
   virtual const CPPType &output_cpp_type(int output_index) const = 0;

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to