Skip to content

Commit 2802ec9

Browse files
yozhufacebook-github-bot
authored andcommitted
Fix source code issues found by clang from toolchain/dev branch
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
1 parent 31d2aa4 commit 2802ec9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fatal/type/call_traits.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ class call_operator_traits {
163163
*/
164164
template <typename T, typename... Args>
165165
using supports = decltype(
166-
is_impl<Args...>::template sfinae(static_cast<T *>(nullptr))
166+
is_impl<Args...>::template sfinae<>(static_cast<T *>(nullptr))
167167
);
168168
};
169169

@@ -226,7 +226,7 @@ class call_operator_traits {
226226
struct bind { \
227227
template <typename... UArgs> \
228228
using supports = decltype( \
229-
member_fn_supports_impl<UArgs...>::template sfinae( \
229+
member_fn_supports_impl<UArgs...>::template sfinae<>( \
230230
static_cast<typename ::std::remove_reference<U>::type *>(nullptr) \
231231
) \
232232
); \

0 commit comments

Comments
 (0)