Skip to content

Commit

Permalink
Fix TS plugin API compatibility typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
SolidWallOfCode committed Apr 24, 2020
1 parent d3b25c2 commit 201862f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/src/ts_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ auto user_arg_index_reserve(const char *name, const char *description, int *arg_
}

template < typename A = void>
auto user_arg_index_reserve(const char *name, const char *description, int *arg_idx) -> std::enable_if_t<eraser<A>(false), TSReturnCode> {
auto user_arg_index_reserve(const char *name, const char *description, int *arg_idx) -> std::enable_if_t<has_TS_USER_ARGS<A>::value, TSReturnCode> {
return TSUserArgIndexReserve(TS_USER_ARGS_TXN, name, description, eraser<A>(arg_idx));
}

Expand Down

0 comments on commit 201862f

Please sign in to comment.