From 984f7ba613583efca995c55c363e8e226727b9b6 Mon Sep 17 00:00:00 2001 From: Christopher Dykes Date: Fri, 19 Aug 2016 13:51:26 -0700 Subject: [PATCH] Mark the long overload of digits_to as noexcept Summary: Well, the explicit instantion for it anyways. The extern template declaration for it declares it as `noexcept`, so MSVC generates an error because the explicit instantiation is not also marked as `noexcept` Reviewed By: yfeldblum, ericniebler Differential Revision: D3744090 fbshipit-source-id: 4e756b2761c23a436097a6131b9b2ecd59faf4f9 --- folly/Conv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/Conv.cpp b/folly/Conv.cpp index 0ab6dcf5..1e6da78a 100644 --- a/folly/Conv.cpp +++ b/folly/Conv.cpp @@ -631,7 +631,7 @@ template Expected digits_to( template Expected digits_to( const char*, - const char*); + const char*) noexcept; template Expected digits_to( const char*, const char*) noexcept; -- 2.34.1