diff --git a/src/Image.h b/src/Image.h index 1bdc52633..9c9881e86 100644 --- a/src/Image.h +++ b/src/Image.h @@ -66,13 +66,13 @@ template class Image: public AbstractImage { explicit Image(ColorFormat format, ColorType type): AbstractImage(format, type), _data(nullptr) {} /** @brief Copying is not allowed */ - Image(const Image&& other) = delete; + Image(const Image&) = delete; /** @brief Move constructor */ Image(Image&& other) noexcept; /** @brief Copying is not allowed */ - Image& operator=(const Image&& other) = delete; + Image& operator=(const Image&) = delete; /** @brief Move assignment */ Image& operator=(Image&& other) noexcept; diff --git a/src/Platform/Sdl2Application.h b/src/Platform/Sdl2Application.h index e9e14ad64..a71b9620b 100644 --- a/src/Platform/Sdl2Application.h +++ b/src/Platform/Sdl2Application.h @@ -29,6 +29,7 @@ */ #include +#include #include "Platform/Platform.h" #include "Math/Vector2.h" @@ -39,8 +40,6 @@ #endif #include #include -#include -#include #ifdef CORRADE_GCC45_COMPATIBILITY #include "Version.h" diff --git a/src/Trade/ImageData.h b/src/Trade/ImageData.h index a5e8691ba..181b768bb 100644 --- a/src/Trade/ImageData.h +++ b/src/Trade/ImageData.h @@ -56,13 +56,13 @@ template class ImageData: public AbstractImage { explicit ImageData(ColorFormat format, ColorType type, const typename DimensionTraits::VectorType& size, void* data): AbstractImage(format, type), _size(size), _data(reinterpret_cast(data)) {} /** @brief Copying is not allowed */ - ImageData(const ImageData&& other) = delete; + ImageData(const ImageData&) = delete; /** @brief Move constructor */ ImageData(ImageData&& other) noexcept; /** @brief Copying is not allowed */ - ImageData& operator=(const ImageData&& other) = delete; + ImageData& operator=(const ImageData&) = delete; /** @brief Move assignment */ ImageData& operator=(ImageData&& other) noexcept;