Inherit WebApplication from Object.

This commit is contained in:
Relintai 2021-11-21 14:40:47 +01:00
parent e32593da4c
commit 557c2a3934
2 changed files with 5 additions and 1 deletions

View File

@ -13,7 +13,9 @@
class Request;
class WebApplication {
class WebApplication : public Object {
RCPP_OBJECT(WebApplication, Object);
public:
static std::string default_error_404_body;
static std::string default_generic_error_body;

View File

@ -30,6 +30,8 @@ using namespace drogon;
class Request;
class DWebApplication : public WebApplication {
RCPP_OBJECT(DWebApplication, WebApplication);
public:
void load_settings();
void setup_routes();