git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81087d4
)
Один из методов класса настроек сделан константным
author
Maxim Mamontov
<faust@gts.dp.ua>
Wed, 8 Dec 2010 12:12:54 +0000
(14:12 +0200)
committer
Maxim Mamontov
<faust@gts.dp.ua>
Wed, 8 Dec 2010 12:12:54 +0000
(14:12 +0200)
projects/stargazer/plugins/other/ping/ping.h
patch
|
blob
|
history
diff --git
a/projects/stargazer/plugins/other/ping/ping.h
b/projects/stargazer/plugins/other/ping/ping.h
index 9f6304d85e4e4c830ce1e2a32d0874eabce259ee..2f4791a12ce195a8477cf0b19de570b36ac54031 100644
(file)
--- a/
projects/stargazer/plugins/other/ping/ping.h
+++ b/
projects/stargazer/plugins/other/ping/ping.h
@@
-77,7
+77,7
@@
public:
virtual ~PING_SETTINGS() {}
const string& GetStrError() const { return errorStr; }
int ParseSettings(const MODULE_SETTINGS & s);
- int GetPingDelay() { return pingDelay; }
+ int GetPingDelay()
const
{ return pingDelay; }
private:
int ParseIntInRange(const string & str, int min, int max, int * val);