summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2010-01-29 23:54:00 +0000
committersmatz <smatz@openttd.org>2010-01-29 23:54:00 +0000
commit54f958c8e5c99804d1e46c2fe6b3b5ef5cae3db6 (patch)
treeab02414223d9aa2beef7f8076ca6dcf0b01cb72f
parent4c4d1e1bf6c5e6c4678eeb52b263b6119a531fcf (diff)
downloadopenttd-54f958c8e5c99804d1e46c2fe6b3b5ef5cae3db6.tar.xz
(svn r18954) -Fix (r18952): missing 'inline'
-rw-r--r--src/saveload/saveload.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/saveload.h b/src/saveload/saveload.h
index c3864c04f..0914a50ea 100644
--- a/src/saveload/saveload.h
+++ b/src/saveload/saveload.h
@@ -300,7 +300,7 @@ static inline VarType GetVarFileType(VarType type)
* @param conv the type to check
* @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;
}