aboutsummaryrefslogtreecommitdiff
path: root/include/optional
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-05-17 20:23:06 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-05-17 20:23:06 +0000
commit318f9824bdefe5bdd518730a92469f8fd0e61ff6 (patch)
tree5cf995c3ab4cbc06e5061d8213f17c35ae19ff50 /include/optional
parent7582e3938bb9fb3e4664efdfb2313df29f27b70b (diff)
Vendor import of libc++ trunk r303291:vendor/libc++/libc++-trunk-r303291
Notes
Notes: svn path=/vendor/libc++/dist/; revision=318420 svn path=/vendor/libc++/libc++-trunk-r303291/; revision=318421; tag=vendor/libc++/libc++-trunk-r303291
Diffstat (limited to 'include/optional')
-rw-r--r--include/optional4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/optional b/include/optional
index 8c7a242113a0..70b6eb44dcd6 100644
--- a/include/optional
+++ b/include/optional
@@ -599,8 +599,8 @@ private:
public:
_LIBCPP_INLINE_VISIBILITY constexpr optional() noexcept {}
- _LIBCPP_INLINE_VISIBILITY optional(const optional&) = default;
- _LIBCPP_INLINE_VISIBILITY optional(optional&&) = default;
+ _LIBCPP_INLINE_VISIBILITY constexpr optional(const optional&) = default;
+ _LIBCPP_INLINE_VISIBILITY constexpr optional(optional&&) = default;
_LIBCPP_INLINE_VISIBILITY constexpr optional(nullopt_t) noexcept {}
template <class... _Args, class = enable_if_t<