Skip to content

Commit 6508a7c

Browse files
committed
Fix linking error
1 parent b0007f3 commit 6508a7c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/utility/unreachable.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@
88

99
SNAP_BEGIN_NAMESPACE
1010

11-
[[noreturn]] inline void unreachable() noexcept
11+
[[noreturn]] void unreachable() noexcept
1212
{
1313
#if defined(_MSC_VER) && !defined(__clang__)
1414
__fastfail(0u);
15+
#endif
1516
std::abort();
17+
#if defined(_MSC_VER) && !defined(__clang__)
1618
__assume(0);
1719
#else
1820
__builtin_unreachable();

0 commit comments

Comments
 (0)