Browse Source

Mark classes as ‘final’

--HG--
branch : minor
Alex Szpakowski 8 years ago
parent
commit
7d7f8e0a92

+ 1 - 1
src/modules/graphics/opengl/Image.h

@@ -34,7 +34,7 @@ namespace graphics
 namespace opengl
 {
 
-class Image : public love::graphics::Image, public Volatile
+class Image final : public love::graphics::Image, public Volatile
 {
 public:
 

+ 1 - 1
src/modules/graphics/opengl/Mesh.h

@@ -31,7 +31,7 @@ namespace graphics
 namespace opengl
 {
 
-class Mesh : public love::graphics::Mesh
+class Mesh final : public love::graphics::Mesh
 {
 public:
 

+ 1 - 1
src/modules/graphics/opengl/SpriteBatch.h

@@ -30,7 +30,7 @@ namespace graphics
 namespace opengl
 {
 
-class SpriteBatch : public love::graphics::SpriteBatch
+class SpriteBatch final : public love::graphics::SpriteBatch
 {
 public:
 

+ 1 - 1
src/modules/graphics/opengl/StreamBuffer.cpp

@@ -77,7 +77,7 @@ private:
 
 }; // StreamBufferClientMemory
 
-class StreamBufferSubDataOrphan : public love::graphics::StreamBuffer, public Volatile
+class StreamBufferSubDataOrphan final : public love::graphics::StreamBuffer, public Volatile
 {
 public: