Skip to content

Commit

Permalink
[engine] TextureManager: Delete copy and move.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlyr committed Jul 11, 2023
1 parent b893320 commit 38d118b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Engine/Data/TextureManager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ class RA_ENGINE_API TextureManager final
public:
TextureManager();
~TextureManager();
TextureManager( TextureManager const& ) = delete;
TextureManager( TextureManager&& ) = delete;
TextureManager& operator=( TextureManager const& ) = delete;
TextureManager& operator=( TextureManager&& ) = delete;

private:
std::vector<std::unique_ptr<Texture>> m_newTextures;
Expand Down
1 change: 1 addition & 0 deletions src/Engine/Data/VolumetricMaterial.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ class RA_ENGINE_API VolumetricMaterial final : public Material, public Parameter

private:
// The density matrix
/// \todo get rid of the raw ptr.
Texture* m_texture;

/**
Expand Down

0 comments on commit 38d118b

Please sign in to comment.