From b0358759e57123853ec0ae745c6930282de1c60c Mon Sep 17 00:00:00 2001 From: Gioacchino Mazzurco Date: Thu, 30 Jan 2020 18:11:49 +0100 Subject: [PATCH] Delete experimental deadcode --- libretroshare/src/jsonapi/jsonapi.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libretroshare/src/jsonapi/jsonapi.cpp b/libretroshare/src/jsonapi/jsonapi.cpp index 832d07add..72209d218 100644 --- a/libretroshare/src/jsonapi/jsonapi.cpp +++ b/libretroshare/src/jsonapi/jsonapi.cpp @@ -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(e), rsJsonApi->errorCategory()); } - std::error_condition make_error_condition(RsJsonApiErrorNum e) { return std::error_condition(static_cast(e), rsJsonApi->errorCategory()); } - std::error_condition RsJsonApiErrorCategory::default_error_condition(int ev) const noexcept { switch(static_cast(ev))