Skip to content

Commit 4333963

Browse files
Adds a virtual default destructor for RequestState
1 parent eef8bcc commit 4333963

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/graphqlservice/GraphQLService.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ class schema_exception : public std::exception
108108
// correlate the asynchronous/recursive callbacks and accumulate state in it.
109109
struct RequestState : std::enable_shared_from_this<RequestState>
110110
{
111+
virtual ~RequestState() = default;
111112
};
112113

113114
namespace {

0 commit comments

Comments
 (0)