From 30efbcc6a81175f5b1462fc806db437d101fbf2a Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Wed, 18 Sep 2019 13:33:58 -0500 Subject: [PATCH] Add a missing virtual destructor on Mesh --- include/openmc/mesh.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/openmc/mesh.h b/include/openmc/mesh.h index 6d59826aa..34782b5e3 100644 --- a/include/openmc/mesh.h +++ b/include/openmc/mesh.h @@ -33,9 +33,10 @@ extern std::unordered_map mesh_map; class Mesh { public: - // Constructors + // Constructors and destructor Mesh() = default; Mesh(pugi::xml_node node); + virtual ~Mesh() = default; // Methods