error_code fix. added is_error_code_enum template specialization and using the abbreviated syntax to build error_codes

This commit is contained in:
Arvid Norberg
2009-11-29 07:06:38 +00:00
parent 6070c59b46
commit 1f5859d31f
27 changed files with 249 additions and 238 deletions

View File

@@ -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
}