Fix unused-parameter warning when exceptions are disabled (#48)

This commit is contained in:
Austin Morton
2019-02-19 13:18:25 -05:00
committed by Simon Brand
parent 89670f8b21
commit 2e007e9f57

View File

@ -224,6 +224,7 @@ template<typename E>
#ifdef TL_EXPECTED_EXCEPTIONS_ENABLED
throw std::forward<E>(e);
#else
(void)e;
#ifdef _MSC_VER
__assume(0);
#else