Keep 10 extra unassigned slots for event types

Proper error reporting + cruft removal
This commit is contained in:
Gioacchino Mazzurco 2020-04-06 17:10:16 +02:00
parent 76d492b4aa
commit b701ca8da3
No known key found for this signature in database
GPG key ID: A1FBCA3872E87051
5 changed files with 149 additions and 109 deletions

View file

@ -395,7 +395,7 @@ JsonApiServer::JsonApiServer(): configMutex("JsonApiServer config"),
} );
};
bool retval = rsEvents->registerEventsHandler(
auto retval = rsEvents->registerEventsHandler(
multiCallback, hId, eventType );
{

View file

@ -151,8 +151,6 @@ protected:
/// @see RsThread
void onStopRequested() override;
static const RsJsonApiErrorCategory sErrorCategory;
static std::error_condition badApiCredientalsFormat(
const std::string& user, const std::string& passwd );