File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ using namespace CQ;
24
24
inline void init (string &msg)
25
25
{
26
26
msg_decode (msg);
27
- while (!msg.empty () && isspace (msg[0 ]))
28
- msg.erase (msg.begin ());
29
27
}
30
28
31
29
inline void init2 (string &msg)
@@ -51,7 +49,7 @@ inline void init2(string &msg)
51
49
}
52
50
}
53
51
54
- while (!msg. empty () && isspace (msg[0 ]))
52
+ while (isspace (msg[0 ]))
55
53
msg.erase (msg.begin ());
56
54
while (!msg.empty () && isspace (msg[msg.length () - 1 ]))
57
55
msg.erase (msg.end () - 1 );
Original file line number Diff line number Diff line change 22
22
#error 请使用Win32 Release模式进行编译
23
23
#endif
24
24
// Version
25
- static const std::string Dice_Ver = " 2.2.3(425 )" ;
25
+ static const std::string Dice_Ver = " 2.2.4(426 )" ;
26
26
static const std::string Dice_Short_Ver = " Dice! by 溯洄 Version " + Dice_Ver;
27
27
static const std::string Dice_Full_Ver = Dice_Short_Ver + " [MSVC " + std::to_string(_MSC_FULL_VER) + " " + __DATE__ + " " + __TIME__ + " ]" ;
28
28
// Error Handle
You can’t perform that action at this time.
0 commit comments