]> git.stg.codes - stg.git/blobdiff - include/user_stat.h
Add book directory to git ignorance file
[stg.git] / include / user_stat.h
index fd0e79a01d55e05c0f176e6d8f4a440756f3168a..42d436fdc96c472675eef9f2e5d0ce980d4db05e 100644 (file)
@@ -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;
@@ -187,6 +187,3 @@ struct USER_STAT_RES
 };
 //-----------------------------------------------------------------------------
 #endif
-
-
-