Skip to content

Commit 2e72566

Browse files
author
st0rmbtw
committed
Remove explicit default copy constructors
1 parent 72a0ed7 commit 2e72566

File tree

7 files changed

+0
-16
lines changed

7 files changed

+0
-16
lines changed

include/LLGL/ImageFlags.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ namespace LLGL
3737
struct MutableImageView
3838
{
3939
MutableImageView() = default;
40-
MutableImageView(const MutableImageView&) = default;
4140

4241
//! Constructor to initialize all attributes.
4342
inline MutableImageView(ImageFormat format, DataType dataType, void* data, std::size_t dataSize) :
@@ -73,7 +72,6 @@ The counterpart for reading a MIP-map from a hardware texture by writing to a de
7372
struct ImageView
7473
{
7574
ImageView() = default;
76-
ImageView(const ImageView&) = default;
7775

7876
//! Constructor to initialize all attributes.
7977
inline ImageView(ImageFormat format, DataType dataType, const void* data, std::size_t dataSize, std::uint32_t rowStride = 0, std::uint32_t layerStride = 0) :
@@ -125,7 +123,6 @@ struct ImageView
125123
struct LLGL_DEPRECATED("LLGL::SrcImageDescriptor is deprecated since 0.04b; Use LLGL::ImageView instead!", "ImageView") SrcImageDescriptor
126124
{
127125
SrcImageDescriptor() = default;
128-
SrcImageDescriptor(const SrcImageDescriptor&) = default;
129126

130127
inline SrcImageDescriptor(ImageFormat format, DataType dataType, const void* data, std::size_t dataSize) :
131128
format { format },
@@ -164,7 +161,6 @@ struct LLGL_DEPRECATED("LLGL::SrcImageDescriptor is deprecated since 0.04b; Use
164161
struct LLGL_DEPRECATED("LLGL::DstImageDescriptor is deprecated since 0.04b; Use LLGL::MutableImageView instead!", "MutableImageView") DstImageDescriptor
165162
{
166163
DstImageDescriptor() = default;
167-
DstImageDescriptor(const DstImageDescriptor&) = default;
168164

169165
inline DstImageDescriptor(ImageFormat format, DataType dataType, void* data, std::size_t dataSize) :
170166
format { format },

include/LLGL/PipelineLayoutFlags.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ enum class UniformType
133133
struct BindingSlot
134134
{
135135
BindingSlot() = default;
136-
BindingSlot(const BindingSlot&) = default;
137136

138137
//! Constructs the binding slot with an index and an optional set (for Vulkan).
139138
inline BindingSlot(std::uint32_t index, std::uint32_t set = 0) :
@@ -175,7 +174,6 @@ struct BindingSlot
175174
struct BindingDescriptor
176175
{
177176
BindingDescriptor() = default;
178-
BindingDescriptor(const BindingDescriptor&) = default;
179177

180178
//! Constructors with all primary attributes and a default value for a uniform array.
181179
inline BindingDescriptor(
@@ -263,7 +261,6 @@ This is the equivalent of a static sampler in a root signature in Direct3D 12.
263261
struct StaticSamplerDescriptor
264262
{
265263
StaticSamplerDescriptor() = default;
266-
StaticSamplerDescriptor(const StaticSamplerDescriptor&) = default;
267264

268265
//! Initializes the static sampler with stage flags, binding slot, and sampler state.
269266
inline StaticSamplerDescriptor(
@@ -332,7 +329,6 @@ struct StaticSamplerDescriptor
332329
struct UniformDescriptor
333330
{
334331
UniformDescriptor() = default;
335-
UniformDescriptor(const UniformDescriptor&) = default;
336332

337333
//! Initializes the uniform descriptor with a name, type, and optional array size.
338334
inline UniformDescriptor(

include/LLGL/PipelineStateFlags.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,6 @@ struct ColorMaskFlags
301301
struct Viewport
302302
{
303303
Viewport() = default;
304-
Viewport(const Viewport&) = default;
305304

306305
//! Viewport constructor with default depth range of [0, 1].
307306
inline Viewport(float x, float y, float width, float height) :
@@ -400,7 +399,6 @@ struct Viewport
400399
struct Scissor
401400
{
402401
Scissor() = default;
403-
Scissor(const Scissor&) = default;
404402

405403
//! Scissor constructor with parameters for all attributes.
406404
inline Scissor(std::int32_t x, std::int32_t y, std::int32_t width, std::int32_t height) :

include/LLGL/RenderPassFlags.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ enum class AttachmentStoreOp
6666
struct AttachmentFormatDescriptor
6767
{
6868
AttachmentFormatDescriptor() = default;
69-
AttachmentFormatDescriptor(const AttachmentFormatDescriptor&) = default;
7069

7170
//! Constructor to initialize the format and optionally the load and store operations.
7271
inline AttachmentFormatDescriptor(

include/LLGL/RenderTargetFlags.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ namespace LLGL
2929
struct AttachmentDescriptor
3030
{
3131
AttachmentDescriptor() = default;
32-
AttachmentDescriptor(const AttachmentDescriptor&) = default;
3332

3433
//! Constructor for the specified depth-, or stencil attachment.
3534
inline AttachmentDescriptor(Format format) :

include/LLGL/TextureFlags.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ struct TextureSwizzleRGBA
120120
struct TextureSubresource
121121
{
122122
TextureSubresource() = default;
123-
TextureSubresource(const TextureSubresource&) = default;
124123

125124
//! Constructor to initialize base MIP-map level and base array layer only.
126125
inline TextureSubresource(std::uint32_t baseArrayLayer, std::uint32_t baseMipLevel) :
@@ -176,7 +175,6 @@ struct TextureSubresource
176175
struct TextureLocation
177176
{
178177
TextureLocation() = default;
179-
TextureLocation(const TextureLocation&) = default;
180178

181179
//! Constructor to initialize all attributes.
182180
inline TextureLocation(const Offset3D& offset, std::uint32_t arrayLayer = 0, std::uint32_t mipLevel = 0) :
@@ -220,7 +218,6 @@ struct TextureLocation
220218
struct TextureRegion
221219
{
222220
TextureRegion() = default;
223-
TextureRegion(const TextureRegion&) = default;
224221

225222
//! Constructor to initialize offset and extent only.
226223
inline TextureRegion(const Offset3D& offset, const Extent3D& extent) :

sources/Renderer/SPIRV/SpirvInstruction.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ namespace LLGL
2121
struct SpirvInstruction
2222
{
2323
SpirvInstruction() = default;
24-
SpirvInstruction(const SpirvInstruction&) = default;
2524

2625
SpirvInstruction(spv::Op opcode, spv::Id type = 0, spv::Id result = 0);
2726
SpirvInstruction(spv::Op opcode, spv::Id type, spv::Id result, std::uint32_t numOperands, const spv::Id* operands);

0 commit comments

Comments
 (0)