forked from OSchip/llvm-project
Avoid unused warning in __throw_future_error w/o exceptions enabled
llvm-svn: 290479
This commit is contained in:
parent
afc8e54205
commit
82ad195ad5
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue