Skip to content

Commit c3ddf6e

Browse files
jessechounardMadour
authored andcommitted
Changed defaulted move assignment operators to deleted
1 parent 6b252b0 commit c3ddf6e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

include/LDtkLoader/Entity.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace ldtk {
2929
Entity(const Entity&) = delete;
3030
Entity(Entity&&) noexcept = default;
3131
auto operator=(const Entity&) -> Entity& = delete;
32-
auto operator=(Entity&&) -> Entity& = default;
32+
auto operator=(Entity&&) -> Entity& = delete;
3333

3434
const Layer* const layer;
3535
const IID iid;

include/LDtkLoader/Enum.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ namespace ldtk {
5353
Enum(const Enum&) = delete;
5454
Enum(Enum&&) noexcept = default;
5555
auto operator=(const Enum&) -> Enum& = delete;
56-
auto operator=(Enum&&) -> Enum& = default;
56+
auto operator=(Enum&&) -> Enum& = delete;
5757

5858
const std::string name;
5959
const int uid;

include/LDtkLoader/Layer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace ldtk {
2525
Layer(const Layer&) = delete;
2626
Layer(Layer&&) noexcept = default;
2727
auto operator=(const Layer&) -> Layer& = delete;
28-
auto operator=(Layer&&) -> Layer& = default;
28+
auto operator=(Layer&&) -> Layer& = delete;
2929

3030
const Level* const level;
3131
const IID iid;

include/LDtkLoader/World.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace ldtk {
2424
World(const World&) = delete;
2525
World(World&&) noexcept = default;
2626
auto operator=(const World&) -> World& = delete;
27-
auto operator=(World&&) -> World& = default;
27+
auto operator=(World&&) -> World& = delete;
2828

2929
const IID iid;
3030

0 commit comments

Comments
 (0)