Workaround for /GR- override that disables link time assertions

This commit is contained in:
Antony Polukhin
2018-01-15 23:21:34 +03:00
committed by GitHub
parent 05feacf14b
commit 70e51a62e9

View File

@ -41,7 +41,7 @@ void comparing_types_between_modules()
BOOST_TEST_NE(t_int, test_lib::get_user_defined_class());
BOOST_TEST_NE(t_const_int, test_lib::get_const_user_defined_class());
#ifndef BOOST_HAS_PRAGMA_DETECT_MISMATCH
#if !defined(BOOST_HAS_PRAGMA_DETECT_MISMATCH) || !defined(_CPPRTTI)
test_lib::accept_typeindex(t_int);
#endif
}