Skip to content

Commit 0e61a3c

Browse files
authored
Merge pull request #228 from swarmfarm/default-destructor-for-state
Adds a virtual default destructor for RequestState
2 parents 8a61a51 + 4333963 commit 0e61a3c

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
@@ -110,6 +110,7 @@ class schema_exception : public std::exception
110110
// correlate the asynchronous/recursive callbacks and accumulate state in it.
111111
struct RequestState : std::enable_shared_from_this<RequestState>
112112
{
113+
virtual ~RequestState() = default;
113114
};
114115

115116
namespace {

0 commit comments

Comments
 (0)