summaryrefslogtreecommitdiff
path: root/src/misc/blob.hpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2010-03-23 22:37:18 +0000
committersmatz <smatz@openttd.org>2010-03-23 22:37:18 +0000
commit23041d97200f226bf427de8db7e78232c4ad68b1 (patch)
tree49b34a1bb1ac5705d5ef56d752654efd21193692 /src/misc/blob.hpp
parent837913aa5aac81d455beb1f0302b4b0abb805c1f (diff)
downloadopenttd-23041d97200f226bf427de8db7e78232c4ad68b1.tar.xz
(svn r19509) -Codechange: remove superfluous semicolons after function definitions
Diffstat (limited to 'src/misc/blob.hpp')
-rw-r--r--src/misc/blob.hpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/misc/blob.hpp b/src/misc/blob.hpp
index 6c271cdcf..467261281 100644
--- a/src/misc/blob.hpp
+++ b/src/misc/blob.hpp
@@ -75,7 +75,8 @@ public:
FORCEINLINE ByteBlob() { InitEmpty(); }
/** copy constructor */
- FORCEINLINE ByteBlob(const ByteBlob &src) {
+ FORCEINLINE ByteBlob(const ByteBlob &src)
+ {
InitEmpty();
AppendRaw(src);
}
@@ -165,7 +166,7 @@ protected:
FORCEINLINE uint& LengthRef()
{
return Hdr().items;
- };
+ }
public:
/** return true if blob doesn't contain valid data */
@@ -178,13 +179,13 @@ public:
FORCEINLINE uint Length() const
{
return Hdr().items;
- };
+ }
/** return the current blob capacity in bytes */
FORCEINLINE uint Capacity() const
{
return Hdr().capacity;
- };
+ }
/** return pointer to the first byte of data - non-const version */
FORCEINLINE byte *Begin()
@@ -387,7 +388,7 @@ public:
FORCEINLINE OnTransfer Transfer()
{
return OnTransfer(*this);
- };
+ }
};