From cf5aa4abbf407d23e4e6befbbba0df2b506a72c6 Mon Sep 17 00:00:00 2001 From: arvidn Date: Tue, 28 Apr 2020 09:46:42 +0200 Subject: [PATCH] fix missing function export alert_name --- include/libtorrent/alert_types.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libtorrent/alert_types.hpp b/include/libtorrent/alert_types.hpp index 1652fd0db..5a7b74db3 100644 --- a/include/libtorrent/alert_types.hpp +++ b/include/libtorrent/alert_types.hpp @@ -77,7 +77,7 @@ namespace libtorrent { #endif // internal - TORRENT_EXTRA_EXPORT char const* alert_name(int alert_type); + TORRENT_EXPORT char const* alert_name(int alert_type); // user defined alerts should use IDs greater than this constexpr int user_alert_id = 10000;