From 45c44a5b5b6251835cfd21f64c59ee23472941de Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 9 Sep 2021 17:10:09 +0200 Subject: Fix compiler warnings about virtual functions but non-virtual destructor --- source/blender/functions/FN_field.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3