projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f72aaff
)
Fix use of non-constexpr C++14 addressof
author
Eric Fiselier
<eric@efcs.ca>
Sun, 16 Oct 2016 03:49:18 +0000
(
03:49
+0000)
committer
Eric Fiselier
<eric@efcs.ca>
Sun, 16 Oct 2016 03:49:18 +0000
(
03:49
+0000)
llvm-svn: 284325
libcxx/include/experimental/optional
patch
|
blob
|
history
diff --git
a/libcxx/include/experimental/optional
b/libcxx/include/experimental/optional
index ebe11e6b9343499cfbd7d4372a6111e22c197b02..57c5335f63797fa751a958ebe576a008e668cdf9 100644
(file)
--- a/
libcxx/include/experimental/optional
+++ b/
libcxx/include/experimental/optional
@@
-488,7
+488,7
@@
public:
{
_LIBCPP_ASSERT(this->__engaged_, "optional operator-> called for disengaged value");
#ifndef _LIBCPP_HAS_NO_BUILTIN_ADDRESSOF
- return _
VSTD::
addressof(this->__val_);
+ return _
_builtin_
addressof(this->__val_);
#else
return __operator_arrow(__has_operator_addressof<value_type>{});
#endif