[libcxx-commits] [libcxx] r357533 - [libc++] Fix build when exceptions are turned off
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Apr 2 15:02:18 PDT 2019
Author: ldionne
Date: Tue Apr 2 15:02:17 2019
New Revision: 357533
URL: http://llvm.org/viewvc/llvm-project?rev=357533&view=rev
Log:
[libc++] Fix build when exceptions are turned off
Modified:
libcxx/trunk/include/istream
Modified: libcxx/trunk/include/istream
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/istream?rev=357533&r1=357532&r2=357533&view=diff
==============================================================================
--- libcxx/trunk/include/istream (original)
+++ libcxx/trunk/include/istream Tue Apr 2 15:02:17 2019
@@ -539,8 +539,8 @@ __input_c_string(basic_istream<_CharT, _
{
#ifndef _LIBCPP_NO_EXCEPTIONS
try
-#endif
{
+#endif
_CharT* __s = __p;
const ctype<_CharT>& __ct = use_facet<ctype<_CharT> >(__is.getloc());
while (__s != __p + (__n-1))
More information about the libcxx-commits
mailing list