mirror of https://github.com/OpenTTD/OpenTTD
(svn r18954) -Fix (r18952): missing 'inline'
parent
4c4d1e1bf6
commit
54f958c8e5
|
@ -300,7 +300,7 @@ static inline VarType GetVarFileType(VarType type)
|
||||||
* @param conv the type to check
|
* @param conv the type to check
|
||||||
* @return True if it's a numeric type.
|
* @return True if it's a numeric type.
|
||||||
*/
|
*/
|
||||||
static bool IsNumericType(VarType conv)
|
static inline bool IsNumericType(VarType conv)
|
||||||
{
|
{
|
||||||
return GetVarMemType(conv) <= SLE_VAR_U64;
|
return GetVarMemType(conv) <= SLE_VAR_U64;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue