@@ -38,7 +38,7 @@ public:
/**
* Destructor.
**/
- virtual ~Data() {};
+ virtual ~Data() {}
* Gets a pointer to the data. This pointer will obviously not
@@ -23,4 +23,4 @@
namespace love
{
// Implementation in header.
-}
+}
@@ -38,4 +38,4 @@ char *b64_decode(const char *src, int slen, int &size);
} // love
-#endif // LOVE_B64_H
+#endif // LOVE_B64_H
@@ -45,4 +45,4 @@ void replace_char(std::string &str, char find, char replace);
-#endif // LOVE_WINDOWS
+#endif // LOVE_WINDOWS
@@ -60,7 +60,7 @@ struct Image
const uint8_t *data;
Image() : width(0), height(0), dataSize(0), data(0)
- {};
+ {}
};
@@ -67,7 +67,7 @@ public:
- virtual ~Audio() {};
+ virtual ~Audio() {}
virtual Source *newSource(love::sound::Decoder *decoder) = 0;
virtual Source *newSource(love::sound::SoundData *soundData) = 0;
@@ -54,4 +54,4 @@ public:
} // font
-#endif // LOVE_FONT_FONT_H
+#endif // LOVE_FONT_FONT_H
@@ -79,4 +79,4 @@ private:
-#endif // LOVE_FONT_IMAGE_RASTERIZER_H
+#endif // LOVE_FONT_IMAGE_RASTERIZER_H
@@ -96,4 +96,4 @@ bool Rasterizer::hasGlyphs(const std::string &text) const
}
-} // love
+} // love
@@ -114,4 +114,4 @@ protected:
-#endif // LOVE_FONT_RASTERIZER_H
+#endif // LOVE_FONT_RASTERIZER_H
@@ -146,4 +146,4 @@ bool TrueTypeRasterizer::hasGlyph(uint32 glyph) const
} // freetype
@@ -175,7 +175,7 @@ private:
return texture < other.texture;
else
return startvertex < other.startvertex;
- };
+ }
bool initializeTexture(GLenum format);
@@ -65,7 +65,7 @@ public:
INSERT_MODE_TOP,
INSERT_MODE_BOTTOM,
INSERT_MODE_RANDOM,
- INSERT_MODE_MAX_ENUM,
+ INSERT_MODE_MAX_ENUM
@@ -47,7 +47,7 @@ public:
- virtual ~Image() {};
+ virtual ~Image() {}
* Creates new ImageData from FileData.
@@ -93,4 +93,4 @@ public:
} // image
-#endif // LOVE_IMAGE_IMAGE_H
+#endif // LOVE_IMAGE_IMAGE_H
@@ -49,7 +49,7 @@ public:
BUTTON_MAX_ENUM
- virtual ~Mouse() {};
+ virtual ~Mouse() {}
virtual Cursor *newCursor(love::image::ImageData *data, int hotx, int hoty) = 0;
virtual Cursor *getSystemCursor(Cursor::SystemCursor cursortype) = 0;
@@ -51,7 +51,7 @@ int w_Cursor_getType(lua_State *L)
lua_pushstring(L, typestr);
return 1;
-};
static const luaL_Reg functions[] =
@@ -65,4 +65,4 @@ extern "C" int luaopen_cursor(lua_State *L)
} // mouse
@@ -140,4 +140,4 @@ extern "C" int luaopen_motorjoint(lua_State *L)
} // box2d
} // phyics
* Destructor. Should free internal buffer.
- virtual ~Decoder() {};
+ virtual ~Decoder() {}
* Decodes the next chunk of the music stream, this will usually be
@@ -183,4 +183,4 @@ void FLACDecoder::error_callback(FLAC__StreamDecoderErrorStatus status)
} // sound
-#endif // 0
+#endif // 0
@@ -146,4 +146,4 @@ int GmeDecoder::getBitDepth() const
-#endif // LOVE_SUPPORT_GME
+#endif // LOVE_SUPPORT_GME
@@ -109,4 +109,4 @@ extern "C" int luaopen_love_system(lua_State *L)
} // system