Game::update() 取消 inline 以解决 gcc-7.3 编译失败问题

This commit is contained in:
Calcitem 2019-09-28 23:26:24 +08:00
parent f125654427
commit 7551dbb9e3
2 changed files with 2 additions and 2 deletions

View File

@ -770,7 +770,7 @@ bool Game::command(int m)
return false;
}
inline int Game::update()
int Game::update()
{
int ret = -1;
int timePoint = -1;

View File

@ -222,7 +222,7 @@ public:
bool command(const char *cmd);
// 更新时间和状态,用内联函数以提高效率
inline int update();
int update();
// 是否分出胜负
bool win();