error_code fix. added is_error_code_enum template specialization and using the abbreviated syntax to build error_codes
This commit is contained in:
@@ -191,12 +191,6 @@ namespace libtorrent
|
||||
return msgs[ev];
|
||||
}
|
||||
|
||||
TORRENT_EXPORT libtorrent_error_category libtorrent_category;
|
||||
|
||||
#else
|
||||
|
||||
TORRENT_EXPORT ::asio::error::error_category libtorrent_category(20);
|
||||
|
||||
#endif
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user