aboutsummaryrefslogtreecommitdiff
path: root/tests/no_exception_ensure_tests.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-12-04 19:14:29 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-12-04 19:14:29 +0000
commite8c1c0779e76aae9f415c7e8064e8cf479a7529a (patch)
tree7220c449b6ebfc2e77ae784386716c5d7c497cfb /tests/no_exception_ensure_tests.cpp
parentc02fdd7f0216562c0790abb297e840b1d49b2a50 (diff)
parenta6355e67863610450aff55a376a61725bb3ddf09 (diff)
downloadMicrosoft-GSL-e8c1c0779e76aae9f415c7e8064e8cf479a7529a.tar.gz
Merge "Upgrade Microsoft-GSL to 7e99e76c9761d0d0b0848b91f8648830670ee872"
Diffstat (limited to 'tests/no_exception_ensure_tests.cpp')
-rw-r--r--tests/no_exception_ensure_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/no_exception_ensure_tests.cpp b/tests/no_exception_ensure_tests.cpp
index b1ae15b..2ec0ebb 100644
--- a/tests/no_exception_ensure_tests.cpp
+++ b/tests/no_exception_ensure_tests.cpp
@@ -28,7 +28,7 @@ int operator_subscript_no_throw() noexcept
void setup_termination_handler() noexcept
{
-#if defined(_MSC_VER)
+#if defined(GSL_MSVC_USE_STL_NOEXCEPTION_WORKAROUND)
auto& handler = gsl::details::get_terminate_handler();
handler = &test_terminate;