Game::update() 取消 inline 以解决 gcc-7.3 编译失败问题
This commit is contained in:
parent
f125654427
commit
7551dbb9e3
|
@ -770,7 +770,7 @@ bool Game::command(int m)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline int Game::update()
|
int Game::update()
|
||||||
{
|
{
|
||||||
int ret = -1;
|
int ret = -1;
|
||||||
int timePoint = -1;
|
int timePoint = -1;
|
||||||
|
|
|
@ -222,7 +222,7 @@ public:
|
||||||
bool command(const char *cmd);
|
bool command(const char *cmd);
|
||||||
|
|
||||||
// 更新时间和状态,用内联函数以提高效率
|
// 更新时间和状态,用内联函数以提高效率
|
||||||
inline int update();
|
int update();
|
||||||
|
|
||||||
// 是否分出胜负
|
// 是否分出胜负
|
||||||
bool win();
|
bool win();
|
||||||
|
|
Loading…
Reference in New Issue