From: Maxim Mamontov Date: Tue, 7 Dec 2010 15:09:19 +0000 (+0200) Subject: Оператор приведения типа USER_STAT_RES к USER_STAT сделан константным X-Git-Tag: 2.407-rc3~337 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/d2f8005fcdd4d047411cd0b1a4b7f72669915b6f Оператор приведения типа USER_STAT_RES к USER_STAT сделан константным --- diff --git a/include/user_stat.h b/include/user_stat.h index fd0e79a0..a738bc8d 100644 --- 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;