WebNode now inherits from Node.

This commit is contained in:
Relintai 2022-01-07 16:57:13 +01:00
parent ad55c03d59
commit 5b7cdd3829
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ void WebNode::migrate() {
} }
WebNode::WebNode() { WebNode::WebNode() : Node() {
create_validators(); create_validators();
} }

View File

@ -1,11 +1,11 @@
#ifndef WEB_NODE_H #ifndef WEB_NODE_H
#define WEB_NODE_H #define WEB_NODE_H
#include "core/object.h" #include "core/nodes/node.h"
class Request; class Request;
class WebNode : public Object { class WebNode : public Node {
public: public:
virtual void handle_request_main(Request *request); virtual void handle_request_main(Request *request);
virtual void create_validators(); virtual void create_validators();