mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-30 22:29:23 +01:00
Export assert_fail with FMT_API. This fixes dll build.
This commit is contained in:
committed by
Victor Zverovich
parent
b160123e39
commit
1a599117d8
@@ -229,7 +229,7 @@ namespace internal {
|
||||
// A workaround for gcc 4.8 to make void_t work in a SFINAE context.
|
||||
template <typename... Ts> struct void_t_impl { using type = void; };
|
||||
|
||||
void assert_fail(const char* file, int line, const char* message);
|
||||
FMT_API void assert_fail(const char* file, int line, const char* message);
|
||||
|
||||
#ifndef FMT_ASSERT
|
||||
# ifdef NDEBUG
|
||||
|
||||
Reference in New Issue
Block a user