X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..904a0bdb0da53217f6c8a42cd4f5eb5a027a0973:/projects/stargazer/plugins/configuration/sgconfig/stgconfig.h?ds=sidebyside 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;