From: Louis Dionne Date: Tue, 2 Apr 2019 22:02:17 +0000 (+0000) Subject: [libc++] Fix build when exceptions are turned off X-Git-Tag: llvmorg-10-init~8633 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=00f6cfe90842e6a1a232657360c4590b1d57ab53;p=platform%2Fupstream%2Fllvm.git [libc++] Fix build when exceptions are turned off llvm-svn: 357533 --- diff --git a/libcxx/include/istream b/libcxx/include/istream index 122ec18..d6217bb 100644 --- a/libcxx/include/istream +++ b/libcxx/include/istream @@ -539,8 +539,8 @@ __input_c_string(basic_istream<_CharT, _Traits>& __is, _CharT* __p, size_t __n) { #ifndef _LIBCPP_NO_EXCEPTIONS try -#endif { +#endif _CharT* __s = __p; const ctype<_CharT>& __ct = use_facet >(__is.getloc()); while (__s != __p + (__n-1))