Skip to content

Commit

Permalink
Add 'final' keyword to graphics classes
Browse files Browse the repository at this point in the history
  • Loading branch information
mogemimi committed Jan 1, 2016
1 parent 3e77f5d commit aa5510e
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion include/Pomdog/Graphics/ConstantBuffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace Pomdog {

class POMDOG_EXPORT ConstantBuffer {
class POMDOG_EXPORT ConstantBuffer final {
public:
ConstantBuffer() = delete;
ConstantBuffer(ConstantBuffer const&) = delete;
Expand Down
2 changes: 1 addition & 1 deletion include/Pomdog/Graphics/GraphicsCommandList.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace Pomdog {

class POMDOG_EXPORT GraphicsCommandList {
class POMDOG_EXPORT GraphicsCommandList final {
public:
GraphicsCommandList() = delete;
GraphicsCommandList(GraphicsCommandList const&) = delete;
Expand Down
2 changes: 1 addition & 1 deletion include/Pomdog/Graphics/GraphicsCommandQueue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Pomdog {

class GraphicsCommandList;

class POMDOG_EXPORT GraphicsCommandQueue {
class POMDOG_EXPORT GraphicsCommandQueue final {
public:
GraphicsCommandQueue() = delete;
GraphicsCommandQueue(GraphicsCommandQueue const&) = delete;
Expand Down
2 changes: 1 addition & 1 deletion include/Pomdog/Graphics/GraphicsDevice.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Pomdog {

class POMDOG_EXPORT GraphicsDevice {
class POMDOG_EXPORT GraphicsDevice final {
public:
GraphicsDevice() = delete;
GraphicsDevice(GraphicsDevice const&) = delete;
Expand Down
2 changes: 1 addition & 1 deletion include/Pomdog/Graphics/IndexBuffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace Pomdog {

class POMDOG_EXPORT IndexBuffer {
class POMDOG_EXPORT IndexBuffer final {
public:
IndexBuffer() = delete;
IndexBuffer(IndexBuffer const&) = delete;
Expand Down
2 changes: 1 addition & 1 deletion include/Pomdog/Graphics/PipelineState.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Pomdog {

class POMDOG_EXPORT PipelineState {
class POMDOG_EXPORT PipelineState final {
public:
PipelineState() = delete;
PipelineState(PipelineState const&) = delete;
Expand Down
2 changes: 1 addition & 1 deletion include/Pomdog/Graphics/RenderTarget2D.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace Pomdog {

class POMDOG_EXPORT RenderTarget2D : public Texture {
class POMDOG_EXPORT RenderTarget2D final : public Texture {
public:
RenderTarget2D() = delete;
RenderTarget2D(RenderTarget2D const&) = delete;
Expand Down
2 changes: 1 addition & 1 deletion include/Pomdog/Graphics/SamplerState.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace Pomdog {

class POMDOG_EXPORT SamplerState {
class POMDOG_EXPORT SamplerState final {
public:
SamplerState() = delete;
SamplerState(SamplerState const&) = delete;
Expand Down
2 changes: 1 addition & 1 deletion include/Pomdog/Graphics/Texture2D.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace Pomdog {

class POMDOG_EXPORT Texture2D : public Texture {
class POMDOG_EXPORT Texture2D final : public Texture {
public:
Texture2D() = delete;
Texture2D(Texture2D const&) = delete;
Expand Down
2 changes: 1 addition & 1 deletion include/Pomdog/Graphics/VertexBuffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace Pomdog {

class POMDOG_EXPORT VertexBuffer {
class POMDOG_EXPORT VertexBuffer final {
public:
VertexBuffer() = delete;
VertexBuffer(VertexBuffer const&) = delete;
Expand Down

0 comments on commit aa5510e

Please sign in to comment.