X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..b5eb0f91a7a9352c372f64b86338f230c1b142a6:/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;