Skip to content

Commit c8623cb

Browse files
Constructor for server
1 parent bc353a4 commit c8623cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/jsonrpccxx/server.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
namespace jsonrpccxx {
88
class JsonRpcServer {
99
public:
10+
JsonRpcServer() : dispatcher() {}
1011
virtual ~JsonRpcServer() = default;
1112
virtual std::string HandleRequest(const std::string &request) = 0;
1213

@@ -106,4 +107,4 @@ namespace jsonrpccxx {
106107
}
107108
}
108109
};
109-
}
110+
}

0 commit comments

Comments
 (0)