fixed compilation without RS_JSONAPI

This commit is contained in:
csoler 2019-09-06 23:50:39 +02:00
parent ad443ecaa4
commit 2e5821bf59
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -132,9 +132,8 @@ RsConfigOptions::RsConfigOptions()
struct RsInitConfig struct RsInitConfig
{ {
RsInitConfig() RsInitConfig()
:
#ifdef RS_JSONAPI #ifdef RS_JSONAPI
jsonApiPort(JsonApiServer::DEFAULT_PORT), : jsonApiPort(JsonApiServer::DEFAULT_PORT),
jsonApiBindAddress("127.0.0.1") jsonApiBindAddress("127.0.0.1")
#endif #endif
{} {}