Add a _LIBCPP_CONSTEXPR that was missed in r170026.
authorNico Weber <nicolasweber@gmx.de>
Fri, 30 May 2014 12:09:47 +0000 (12:09 +0000)
committerNico Weber <nicolasweber@gmx.de>
Fri, 30 May 2014 12:09:47 +0000 (12:09 +0000)
(clang doesn't complain about this, but gcc does.  This is necessary for a
follow-up patch that will enable _LIBCPP_CONSTEXPR for gcc.)

llvm-svn: 209888

libcxx/include/limits

index d917c57..2216966 100644 (file)
@@ -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>