Browse Source
[compat] fix clang std::terminate error
Signed-off-by: lizzie <lizzie@eden-emu.dev>
pull/307/head
lizzie
7 months ago
No known key found for this signature in database
GPG Key ID: 287378CADCAB13
1 changed files with
2 additions and
0 deletions
-
src/dynarmic/src/dynarmic/common/assert.cpp
|
|
@ -4,6 +4,8 @@ |
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
|
#include <fmt/format.h>
|
|
|
#include <fmt/format.h>
|
|
|
|
|
|
#include <cstdio>
|
|
|
|
|
|
#include <exception>
|
|
|
|
|
|
|
|
|
[[noreturn]] void assert_terminate_impl(const char* expr_str, fmt::string_view msg, fmt::format_args args) { |
|
|
[[noreturn]] void assert_terminate_impl(const char* expr_str, fmt::string_view msg, fmt::format_args args) { |
|
|
fmt::print(stderr, "assertion failed: {}\n", expr_str); |
|
|
fmt::print(stderr, "assertion failed: {}\n", expr_str); |
|
|
|