Avoid unused warning in __throw_future_error w/o exceptions enabled

llvm-svn: 290479
This commit is contained in:
Eric Fiselier 2016-12-24 01:56:25 +00:00
parent afc8e54205
commit 82ad195ad5
1 changed files with 1 additions and 0 deletions

View File

@ -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
}