summaryrefslogtreecommitdiffstats
path: root/include/limits
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-05-30 12:09:47 +0000
committerNico Weber <nicolasweber@gmx.de>2014-05-30 12:09:47 +0000
commit3c122d81beb12e8f560fa0e23c37ca2415e2c94e (patch)
treed8d2fff2507c489d708fd757fba58eea4fc9e225 /include/limits
parentd32add4a4870f505ab472d2fd30085af3a2d31cb (diff)
downloadexternal_libcxx-3c122d81beb12e8f560fa0e23c37ca2415e2c94e.tar.gz
external_libcxx-3c122d81beb12e8f560fa0e23c37ca2415e2c94e.tar.bz2
external_libcxx-3c122d81beb12e8f560fa0e23c37ca2415e2c94e.zip
Add a _LIBCPP_CONSTEXPR that was missed in r170026.
(clang doesn't complain about this, but gcc does. This is necessary for a follow-up patch that will enable _LIBCPP_CONSTEXPR for gcc.) git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@209888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/limits')
-rw-r--r--include/limits2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/limits b/include/limits
index d917c577f..22169665e 100644
--- a/include/limits
+++ b/include/limits
@@ -768,7 +768,7 @@ template <class _Tp>
template <class _Tp>
_LIBCPP_CONSTEXPR const int numeric_limits<const volatile _Tp>::digits10;
template <class _Tp>
- const int numeric_limits<const volatile _Tp>::max_digits10;
+ _LIBCPP_CONSTEXPR const int numeric_limits<const volatile _Tp>::max_digits10;
template <class _Tp>
_LIBCPP_CONSTEXPR const bool numeric_limits<const volatile _Tp>::is_signed;
template <class _Tp>