diff --git a/include/libtorrent/error_code.hpp b/include/libtorrent/error_code.hpp index f683c98c3..f2ddacf99 100644 --- a/include/libtorrent/error_code.hpp +++ b/include/libtorrent/error_code.hpp @@ -200,8 +200,6 @@ namespace libtorrent extern TORRENT_EXPORT asio::error::error_category libtorrent_category; #else - class TORRENT_EXPORT boost::system::error_category; - struct TORRENT_EXPORT libtorrent_error_category : boost::system::error_category { virtual const char* name() const;