Avoid unused warning in __throw_future_error w/o exceptions enabled
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290479 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -520,6 +520,7 @@ void __throw_future_error(future_errc _Ev)
|
||||
#ifndef _LIBCPP_NO_EXCEPTIONS
|
||||
throw future_error(make_error_code(_Ev));
|
||||
#else
|
||||
((void)_Ev);
|
||||
_VSTD::abort();
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user