diff options
author | smatz <smatz@openttd.org> | 2010-03-23 22:37:18 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2010-03-23 22:37:18 +0000 |
commit | 23041d97200f226bf427de8db7e78232c4ad68b1 (patch) | |
tree | 49b34a1bb1ac5705d5ef56d752654efd21193692 /src/misc/fixedsizearray.hpp | |
parent | 837913aa5aac81d455beb1f0302b4b0abb805c1f (diff) | |
download | openttd-23041d97200f226bf427de8db7e78232c4ad68b1.tar.xz |
(svn r19509) -Codechange: remove superfluous semicolons after function definitions
Diffstat (limited to 'src/misc/fixedsizearray.hpp')
-rw-r--r-- | src/misc/fixedsizearray.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc/fixedsizearray.hpp b/src/misc/fixedsizearray.hpp index fe7d6b012..5c008089c 100644 --- a/src/misc/fixedsizearray.hpp +++ b/src/misc/fixedsizearray.hpp @@ -91,9 +91,9 @@ public: /** return number of used items */ FORCEINLINE uint Length() const { return Hdr().items; } /** return true if array is full */ - FORCEINLINE bool IsFull() const { return Length() >= C; }; + FORCEINLINE bool IsFull() const { return Length() >= C; } /** return true if array is empty */ - FORCEINLINE bool IsEmpty() const { return Length() <= 0; }; + FORCEINLINE bool IsEmpty() const { return Length() <= 0; } /** add (allocate), but don't construct item */ FORCEINLINE T *Append() { assert(!IsFull()); return &data[SizeRef()++]; } /** add and construct item using default constructor */ |