X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..e507bc9f35fcf9ce0ea09f03b0187cab73519b07:/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp?ds=inline diff --git a/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp b/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp index 8ba4b0ff..d2ad12b7 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/stgconfig.cpp @@ -84,7 +84,7 @@ port = p; return 0; } //----------------------------------------------------------------------------- -uint16_t STG_CONFIG_SETTINGS::GetPort() +uint16_t STG_CONFIG_SETTINGS::GetPort() const { return port; } @@ -104,9 +104,14 @@ return "Stg configurator v.0.08"; } //----------------------------------------------------------------------------- STG_CONFIG::STG_CONFIG() + : nonstop(false), + isRunning(false), + users(NULL), + admins(NULL), + tariffs(NULL), + store(NULL), + stgSettings(NULL) { -isRunning = false; -nonstop = false; } //----------------------------------------------------------------------------- void STG_CONFIG::SetUsers(USERS * u)