From 85b7e06ae85db13ecd71fcf667c26b8102380f02 Mon Sep 17 00:00:00 2001 From: SirLynix Date: Sat, 19 Nov 2022 13:44:33 +0100 Subject: [PATCH] Fix some additional warnings --- include/Nazara/Graphics/PropertyHandler/PropertyHandler.hpp | 4 ++-- plugins/FFmpeg/Plugin.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/Nazara/Graphics/PropertyHandler/PropertyHandler.hpp b/include/Nazara/Graphics/PropertyHandler/PropertyHandler.hpp index e8fdfee4c..cc4a01c9c 100644 --- a/include/Nazara/Graphics/PropertyHandler/PropertyHandler.hpp +++ b/include/Nazara/Graphics/PropertyHandler/PropertyHandler.hpp @@ -22,7 +22,7 @@ namespace Nz { public: PropertyHandler() = default; - PropertyHandler(const PropertyHandler&) = delete; + PropertyHandler(const PropertyHandler&) = default; PropertyHandler(PropertyHandler&&) = delete; virtual ~PropertyHandler(); @@ -33,7 +33,7 @@ namespace Nz virtual void Update(MaterialInstance& materialInstance) const = 0; - PropertyHandler& operator=(const PropertyHandler&) = delete; + PropertyHandler& operator=(const PropertyHandler&) = default; PropertyHandler& operator=(PropertyHandler&&) = delete; struct SamplerData diff --git a/plugins/FFmpeg/Plugin.cpp b/plugins/FFmpeg/Plugin.cpp index adaa1f037..fbfd78f1a 100644 --- a/plugins/FFmpeg/Plugin.cpp +++ b/plugins/FFmpeg/Plugin.cpp @@ -467,7 +467,7 @@ namespace m_ffmpegLoaderEntry = nullptr; } - std::string_view GetDescription() const + std::string_view GetDescription() const override { return "Adds supports to load and decode videos streams"; }