Skip to content

Commit c63f6ca

Browse files
committed
add virtual dtor
1 parent 0929f3e commit c63f6ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/graphqlservice/GraphQLSchema.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ class Schema : public std::enable_shared_from_this<Schema>
8282
class BaseType : public std::enable_shared_from_this<BaseType>
8383
{
8484
public:
85+
GRAPHQLSERVICE_EXPORT virtual ~BaseType() = default;
86+
8587
// Accessors
8688
GRAPHQLSERVICE_EXPORT introspection::TypeKind kind() const noexcept;
8789
GRAPHQLSERVICE_EXPORT virtual std::string_view name() const noexcept;

0 commit comments

Comments
 (0)