File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -882,6 +882,7 @@ class KernelObjVisitor {
882
882
typename CurHandler, typename ... Handlers>
883
883
std::enable_if_t <!CurHandler::VisitUnionBody &&
884
884
(sizeof ...(FilteredHandlers) > 0 )>
885
+ (sizeof ...(FilteredHandlers) > 0 )>
885
886
VisitUnion (FilteredHandlers &... filtered_handlers,
886
887
const CXXRecordDecl *Owner, ParentTy &Parent,
887
888
const CXXRecordDecl *Wrapper, CurHandler &cur_handler,
@@ -892,8 +893,8 @@ class KernelObjVisitor {
892
893
893
894
template <typename ... FilteredHandlers, typename ParentTy,
894
895
typename CurHandler, typename ... Handlers>
895
- std::enable_if_t <CurHandler::VisitUnionBody &&
896
896
(sizeof ...(FilteredHandlers) > 0 )>
897
+ (sizeof ...(FilteredHandlers) > 0 )>
897
898
VisitUnion (FilteredHandlers &... filtered_handlers,
898
899
const CXXRecordDecl *Owner, ParentTy &Parent,
899
900
const CXXRecordDecl *Wrapper, CurHandler &cur_handler,
You can’t perform that action at this time.
0 commit comments