X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..6303b0ef86435d3485965c1f30dc7af3f6b19384:/projects/stargazer/plugins/configuration/sgconfig/stgconfig.h diff --git a/projects/stargazer/plugins/configuration/sgconfig/stgconfig.h b/projects/stargazer/plugins/configuration/sgconfig/stgconfig.h index 57241c63..80cc16a7 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/stgconfig.h +++ b/projects/stargazer/plugins/configuration/sgconfig/stgconfig.h @@ -52,7 +52,7 @@ public: virtual ~STG_CONFIG_SETTINGS(){}; const string & GetStrError() const; int ParseSettings(const MODULE_SETTINGS & s); - uint16_t GetPort(); + uint16_t GetPort() const; private: int ParseIntInRange(const string & str, int min, int max, int * val); string errorStr;