Skip to content

Commit 3be72e7

Browse files
committed
fix: default server.bind tag
1 parent 77a1979 commit 3be72e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class RPCServer {
2323
// }
2424

2525
template<typename F>
26-
bool bind(const MsgPack::str_t& name, F&& func, MsgPack::str_t& tag){
26+
bool bind(const MsgPack::str_t& name, F&& func, MsgPack::str_t& tag=""){
2727
return dispatcher.bind(name, func, tag);
2828
}
2929

0 commit comments

Comments
 (0)