Skip to content

Commit

Permalink
Merge pull request #11 from ArthurVasseur/main
Browse files Browse the repository at this point in the history
fix: build error due to missing header (unordered_map)
  • Loading branch information
dhbrojas authored Feb 2, 2022
2 parents d7db129 + 1fcb7c5 commit 17aa6a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions include/ziapi/Http.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include <any>
#include <map>
#include <unordered_map>
#include <string>

#include "HttpConstants.hpp"
Expand Down
4 changes: 2 additions & 2 deletions include/ziapi/Module.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class IHandlerModule : public IModule {
* Post processor modules are invoked after the generation of the response
* by the handler module. They can be used for logging, cors, compression, etc...
*/
class IPostProcessorModule : public IModule {
class IPostProcessorModule : virtual public IModule {
public:
virtual ~IPostProcessorModule() = default;
/**
Expand All @@ -81,7 +81,7 @@ class IPostProcessorModule : public IModule {
* Pre processor modules are invoked before the generation of the response by
* the handler module. They can be used for url rewriting, authentication, logging, etc...
*/
class IPreProcessorModule : public IModule {
class IPreProcessorModule : virtual public IModule {
public:
virtual ~IPreProcessorModule() = default;
/**
Expand Down

0 comments on commit 17aa6a9

Please sign in to comment.