diff --git a/include/Nazara/Core/EnttWorld.hpp b/include/Nazara/Core/EnttWorld.hpp index 8c7ecd59e..c3b54cdaf 100644 --- a/include/Nazara/Core/EnttWorld.hpp +++ b/include/Nazara/Core/EnttWorld.hpp @@ -18,8 +18,8 @@ namespace Nz { public: EnttWorld(); - EnttWorld(const EnttWorld&) = default; - EnttWorld(EnttWorld&&) = default; + EnttWorld(const EnttWorld&) = delete; + EnttWorld(EnttWorld&&) = delete; ~EnttWorld() = default; template T& AddSystem(Args&&... args); diff --git a/include/Nazara/Graphics/Camera.hpp b/include/Nazara/Graphics/Camera.hpp index 5fa0bebae..baec2f034 100644 --- a/include/Nazara/Graphics/Camera.hpp +++ b/include/Nazara/Graphics/Camera.hpp @@ -32,7 +32,7 @@ namespace Nz inline DegreeAnglef GetFOV() const; UInt32 GetRenderMask() const override; inline Int32 GetRenderOrder() const; - const RenderTarget& GetRenderTarget() const; + const RenderTarget& GetRenderTarget() const override; inline const Vector2f& GetSize() const; inline const Rectf& GetTargetRegion() const; ViewerInstance& GetViewerInstance() override; diff --git a/include/Nazara/Graphics/Components/LightComponent.hpp b/include/Nazara/Graphics/Components/LightComponent.hpp index d1a33d09f..fef8bfed4 100644 --- a/include/Nazara/Graphics/Components/LightComponent.hpp +++ b/include/Nazara/Graphics/Components/LightComponent.hpp @@ -24,7 +24,7 @@ namespace Nz static constexpr std::size_t MaxLightCount = 8; inline LightComponent(bool initialyVisible = true); - LightComponent(const LightComponent&) = default; + LightComponent(const LightComponent&) = delete; LightComponent(LightComponent&&) = default; ~LightComponent() = default; @@ -44,7 +44,7 @@ namespace Nz inline void Show(bool show = true); - LightComponent& operator=(const LightComponent&) = default; + LightComponent& operator=(const LightComponent&) = delete; LightComponent& operator=(LightComponent&&) = default; NazaraSignal(OnLightAttached, LightComponent* /*graphicsComponent*/, std::size_t /*lightIndex*/);