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:
358f6f1
)
Оператор приведения типа USER_STAT_RES к USER_STAT сделан константным
author
Maxim Mamontov
<faust@gts.dp.ua>
Tue, 7 Dec 2010 15:09:19 +0000
(17:09 +0200)
committer
Maxim Mamontov
<faust@gts.dp.ua>
Tue, 7 Dec 2010 15:09:19 +0000
(17:09 +0200)
include/user_stat.h
patch
|
blob
|
history
diff --git
a/include/user_stat.h
b/include/user_stat.h
index fd0e79a01d55e05c0f176e6d8f4a440756f3168a..a738bc8db064396c51f7efdd63f4bb92dd019239 100644
(file)
--- a/
include/user_stat.h
+++ b/
include/user_stat.h
@@
-162,7
+162,7
@@
struct USER_STAT_RES
down = us.down;
return * this;
};
- operator USER_STAT()
+ operator USER_STAT()
const
{
USER_STAT us;
us.cash = cash;