summaryrefslogtreecommitdiffstats
path: root/libcxx/include/mutex
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/mutex')
-rw-r--r--libcxx/include/mutex16
1 files changed, 8 insertions, 8 deletions
diff --git a/libcxx/include/mutex b/libcxx/include/mutex
index 71a21e33d73..ac8ca2bcc81 100644
--- a/libcxx/include/mutex
+++ b/libcxx/include/mutex
@@ -330,7 +330,7 @@ try_lock(_L0& __l0, _L1& __l1, _L2& __l2, _L3&... __l3)
return __r;
}
-#endif
+#endif // _LIBCPP_HAS_NO_VARIADICS
template <class _L0, class _L1>
void
@@ -413,7 +413,7 @@ lock(_L0& __l0, _L1& __l1, _L2& ...__l2)
__lock_first(0, __l0, __l1, __l2...);
}
-#endif
+#endif // _LIBCPP_HAS_NO_VARIADICS
struct once_flag;
@@ -422,12 +422,12 @@ struct once_flag;
template<class _Callable, class... _Args>
void call_once(once_flag&, _Callable&&, _Args&&...);
-#else
+#else // _LIBCPP_HAS_NO_VARIADICS
template<class _Callable>
void call_once(once_flag&, _Callable);
-#endif
+#endif // _LIBCPP_HAS_NO_VARIADICS
struct once_flag
{
@@ -444,11 +444,11 @@ private:
template<class _Callable, class... _Args>
friend
void call_once(once_flag&, _Callable&&, _Args&&...);
-#else
+#else // _LIBCPP_HAS_NO_VARIADICS
template<class _Callable>
friend
void call_once(once_flag&, _Callable);
-#endif
+#endif // _LIBCPP_HAS_NO_VARIADICS
};
template <class _F>
@@ -495,7 +495,7 @@ call_once(once_flag& __flag, _Callable&& __func, _Args&&... __args)
}
}
-#else
+#else // _LIBCPP_HAS_NO_VARIADICS
template<class _Callable>
inline _LIBCPP_INLINE_VISIBILITY
@@ -509,7 +509,7 @@ call_once(once_flag& __flag, _Callable __func)
}
}
-#endif
+#endif // _LIBCPP_HAS_NO_VARIADICS
_LIBCPP_END_NAMESPACE_STD
OpenPOWER on IntegriCloud