aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/util/expected.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/util/expected.h')
-rw-r--r--gcc/rust/util/expected.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/rust/util/expected.h b/gcc/rust/util/expected.h
index a9e3bc2..07ba877 100644
--- a/gcc/rust/util/expected.h
+++ b/gcc/rust/util/expected.h
@@ -212,10 +212,8 @@ template <typename E>
throw std::forward<E>(e);
#else
(void)e;
-#ifdef _MSC_VER
gcc_unreachable();
#endif
-#endif
}
#ifndef TL_TRAITS_MUTEX
@@ -2437,4 +2435,4 @@ void swap(expected<T, E> &lhs,
}
} // namespace tl
-#endif \ No newline at end of file
+#endif