Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions include/bitcoin/network/define.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ namespace network {
std::forward<Args>(args)...)

#define BIND_THIS(method, ...) \
std::bind(&CLASS::method, this, __VA_ARGS__)
std::bind(&CLASS::method, this __VA_OPT__(,) __VA_ARGS__)
#define BIND(method, ...) \
bind<CLASS>(&CLASS::method, __VA_ARGS__)
bind<CLASS>(&CLASS::method __VA_OPT__(,) __VA_ARGS__)
#define POST(method, ...) \
post<CLASS>(&CLASS::method, __VA_ARGS__)
post<CLASS>(&CLASS::method __VA_OPT__(,) __VA_ARGS__)
#define PARALLEL(method, ...) \
parallel<CLASS>(&CLASS::method, __VA_ARGS__)
parallel<CLASS>(&CLASS::method __VA_OPT__(,) __VA_ARGS__)

} // namespace network
} // namespace libbitcoin
Expand Down
Loading