Skip to content

Commit

Permalink
Fix source code issues found by clang from toolchain/dev branch
Browse files Browse the repository at this point in the history
Summary:
To fix source issues that result in compilation error:

error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]

Reviewed By: thevinster

Differential Revision: D58050664

fbshipit-source-id: bba199f79afab238408568c21315362742875ff5
  • Loading branch information
YongKang Zhu authored and facebook-github-bot committed Jun 3, 2024
1 parent 31d2aa4 commit 2802ec9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fatal/type/call_traits.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class call_operator_traits {
*/
template <typename T, typename... Args>
using supports = decltype(
is_impl<Args...>::template sfinae(static_cast<T *>(nullptr))
is_impl<Args...>::template sfinae<>(static_cast<T *>(nullptr))
);
};

Expand Down Expand Up @@ -226,7 +226,7 @@ class call_operator_traits {
struct bind { \
template <typename... UArgs> \
using supports = decltype( \
member_fn_supports_impl<UArgs...>::template sfinae( \
member_fn_supports_impl<UArgs...>::template sfinae<>( \
static_cast<typename ::std::remove_reference<U>::type *>(nullptr) \
) \
); \
Expand Down

0 comments on commit 2802ec9

Please sign in to comment.