Skip to content

Commit

Permalink
[LINT] Fix clang-format (apache#6264)
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen authored and Trevor Morris committed Aug 26, 2020
1 parent 751c119 commit c270648
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/tvm/runtime/packed_func.h
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class TypedPackedFunc<R(Args...)> {
*/
template <typename FLambda, typename = typename std::enable_if<
std::is_convertible<FLambda,
std::function<R(Args...)> >::value>::type>
std::function<R(Args...)>>::value>::type>
TypedPackedFunc(const FLambda& typed_lambda) { // NOLINT(*)
this->AssignTypedLambda(typed_lambda);
}
Expand All @@ -255,7 +255,7 @@ class TypedPackedFunc<R(Args...)> {
*/
template <typename FLambda, typename = typename std::enable_if<
std::is_convertible<FLambda,
std::function<R(Args...)> >::value>::type>
std::function<R(Args...)>>::value>::type>
TSelf& operator=(FLambda typed_lambda) { // NOLINT(*)
this->AssignTypedLambda(typed_lambda);
return *this;
Expand Down

0 comments on commit c270648

Please sign in to comment.