merge error code fix from RC_1_0

This commit is contained in:
Arvid Norberg
2014-07-20 20:49:56 +00:00
parent 4284606cbc
commit 8552e75f21
10 changed files with 222 additions and 36 deletions

View File

@@ -685,5 +685,12 @@ namespace libtorrent
return bdecode_category;
}
namespace bdecode_errors
{
boost::system::error_code make_error_code(error_code_enum e)
{
return boost::system::error_code(e, get_bdecode_category());
}
}
};