fixed compilation without RS_JSONAPI

This commit is contained in:
csoler 2019-09-06 23:28:04 +02:00
parent 4a085cf223
commit ccd8c7186d
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -115,7 +115,10 @@ RsLoginHelper* rsLoginHelper = nullptr;
RsAccounts* rsAccounts = nullptr; RsAccounts* rsAccounts = nullptr;
RsConfigOptions::RsConfigOptions() RsConfigOptions::RsConfigOptions()
: jsonApiPort(JsonApiServer::DEFAULT_PORT), :
#ifdef RS_JSONAPI
jsonApiPort(JsonApiServer::DEFAULT_PORT),
#endif
jsonApiBindAddress("127.0.0.1"), jsonApiBindAddress("127.0.0.1"),
autoLogin(false), autoLogin(false),
forcedPort(0), forcedPort(0),