[Bf-blender-cvs] [45c44a5b5b6] master: Fix compiler warnings about virtual functions but non-virtual destructor
Brecht Van Lommel
noreply at git.blender.org
Thu Sep 9 17:11:45 CEST 2021
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;
More information about the Bf-blender-cvs
mailing list