Delete experimental deadcode

This commit is contained in:
Gioacchino Mazzurco 2020-01-30 18:11:49 +01:00
parent 8c9310f754
commit b0358759e5
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051

View File

@ -730,16 +730,11 @@ void JsonApiServer::run()
human = RS_HUMAN_READABLE_VERSION;
}
//std::error_code make_error_code(RsJsonApiErrorCode e)
//{ return std::error_code(static_cast<int>(e), rsJsonApi->errorCategory()); }
std::error_condition make_error_condition(RsJsonApiErrorNum e)
{
return std::error_condition(static_cast<int>(e), rsJsonApi->errorCategory());
}
std::error_condition RsJsonApiErrorCategory::default_error_condition(int ev) const noexcept
{
switch(static_cast<RsJsonApiErrorNum>(ev))