Skip to content

Commit

Permalink
Coverity 1523647: No virtual destructor (#10902)
Browse files Browse the repository at this point in the history
  • Loading branch information
maskit authored Dec 7, 2023
1 parent d13e3a7 commit 29032c3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions include/proxy/http/HttpBodyFactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,14 @@ class HttpBodyTemplate
//
////////////////////////////////////////////////////////////////////////

struct HttpBodySetRawData {
class HttpBodySetRawData
{
public:
using TemplateTable = std::unordered_map<std::string, HttpBodyTemplate *>;
unsigned int magic = 0;

virtual ~HttpBodySetRawData() {}

unsigned int magic = 0;
char *set_name;
char *content_language;
char *content_charset;
Expand Down

0 comments on commit 29032c3

Please sign in to comment.