summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2017-01-09 23:07:12 +0000
committerJustin Bogner <mail@justinbogner.com>2017-01-09 23:07:12 +0000
commit7ebce14ad564c31f0bfa4aae116d88ee2688957a (patch)
tree53089721ecad94fcbb9676c8dbb58c112be6d7e8
parentf3e767754031663427d66f57266ade5a20333aad (diff)
downloadlibcxx-7ebce14ad564c31f0bfa4aae116d88ee2688957a.tar.gz
Adorn __call_once_proxy with `inline` and `_LIBCPP_INLINE_VISIBILITY`
As per discussion with mclow and EricWF on irc, this is small and simple enough to deserve being inlined. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@291497 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/mutex1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mutex b/include/mutex
index 8526533f1..3b878c642 100644
--- a/include/mutex
+++ b/include/mutex
@@ -559,6 +559,7 @@ public:
#endif
template <class _Fp>
+inline _LIBCPP_INLINE_VISIBILITY
void
__call_once_proxy(void* __vp)
{