mirror of
https://github.com/qicosmos/rest_rpc.git
synced 2026-08-31 09:30:46 +08:00
go back to c++11 (;′⌒`)
This commit is contained in:
@@ -68,7 +68,7 @@ std::string get_name(connection* conn, const person& p) {
|
||||
}
|
||||
|
||||
int main() {
|
||||
rpc_server server(9000, 4);
|
||||
rpc_server server(9000, std::thread::hardware_concurrency());
|
||||
|
||||
dummy d;
|
||||
server.register_handler("add", &dummy::add, &d);
|
||||
|
||||
Reference in New Issue
Block a user