Removed in libresapi unused code that caused compilation error

This commit is contained in:
Konrad 2017-10-20 21:24:52 +02:00
parent ef52e090ea
commit fca10c2f1b
2 changed files with 0 additions and 7 deletions

View File

@ -41,12 +41,6 @@ FileSharingHandler::FileSharingHandler(StateTokenServer *sts, RsFiles *files):
addResourceHandler("download", this, &FileSharingHandler::handleDownload); addResourceHandler("download", this, &FileSharingHandler::handleDownload);
mStateToken = mStateTokenServer->getNewToken(); mStateToken = mStateTokenServer->getNewToken();
mStateTokenServer->registerTickClient(this);
}
FileSharingHandler::~FileSharingHandler()
{
mStateTokenServer->unregisterTickClient(this);
} }
void FileSharingHandler::handleWildcard(Request & /*req*/, Response & /*resp*/) void FileSharingHandler::handleWildcard(Request & /*req*/, Response & /*resp*/)

View File

@ -30,7 +30,6 @@ class FileSharingHandler: public ResourceRouter
{ {
public: public:
FileSharingHandler(StateTokenServer* sts, RsFiles* files); FileSharingHandler(StateTokenServer* sts, RsFiles* files);
virtual ~FileSharingHandler();
private: private:
void handleWildcard(Request& req, Response& resp); void handleWildcard(Request& req, Response& resp);