Skip to content
Snippets Groups Projects
Commit 9565adf6 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

proxy server: always depend on jsoncpp

parent c10aa325
No related branches found
No related tags found
No related merge requests found
......@@ -31,10 +31,7 @@
#include <restinio/all.hpp>
#include <restinio/tls.hpp>
#ifdef OPENDHT_JSONCPP
#include <json/json.h>
#endif
#include <memory>
#include <mutex>
......@@ -111,7 +108,6 @@ public:
return ss.str();
}
#ifdef OPENDHT_JSONCPP
/**
* Build a json object from a NodeStats
*/
......@@ -124,7 +120,6 @@ public:
result["nodeInfo"] = nodeInfo.toJson();
return result;
}
#endif
};
ServerStats stats() const { return stats_; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment