Better inline marking for __does_policy_contain. Thanks to Chongyu Zhu for the catch
llvm-svn: 193963
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 99c096472d789c7f60c81f99b28b3071565c9508
diff --git a/include/future b/include/future
index 6604683..73d5456 100644
--- a/include/future
+++ b/include/future
@@ -2331,7 +2331,7 @@
}
};
-inline bool __does_policy_contain(launch __policy, launch __value )
+inline _LIBCPP_INLINE_VISIBILITY bool __does_policy_contain(launch __policy, launch __value )
{ return (int(__policy) & int(__value)) != 0; }
template <class _Fp, class... _Args>