Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/AudioStream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class AudioStream : public ::AudioStream {

AudioStream& operator=(const AudioStream&) = delete;

AudioStream& operator=(AudioStream&& other) {
AudioStream& operator=(AudioStream&& other) noexcept {
if (this == &other) {
return *this;
}
Expand Down
2 changes: 1 addition & 1 deletion include/Font.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class Font : public ::Font {

Font& operator=(const Font&) = delete;

Font& operator=(Font&& other) {
Font& operator=(Font&& other) noexcept {
if (this == &other) {
return *this;
}
Expand Down
2 changes: 1 addition & 1 deletion include/Image.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ class Image : public ::Image {
return *this;
}

Image& operator=(Image&& other) {
Image& operator=(Image&& other) noexcept {
if (this == &other) {
return *this;
}
Expand Down
4 changes: 2 additions & 2 deletions include/Material.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ class Material : public ::Material {

Material& operator=(const Material&) = delete;

Material& operator=(Material&& other) {
if (this != &other) {
Material& operator=(Material&& other) noexcept {
if (this == &other) {
return *this;
}

Expand Down
4 changes: 2 additions & 2 deletions include/Mesh.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ class Mesh : public ::Mesh {

Mesh& operator=(const Mesh&) = delete;

Mesh& operator=(Mesh&& other) {
if (this != &other) {
Mesh& operator=(Mesh&& other) noexcept {
if (this == &other) {
return *this;
}

Expand Down
4 changes: 2 additions & 2 deletions include/Model.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ class Model : public ::Model {

Model& operator=(const Model&) = delete;

Model& operator=(Model&& other) {
if (this != &other) {
Model& operator=(Model&& other) noexcept {
if (this == &other) {
return *this;
}

Expand Down
4 changes: 2 additions & 2 deletions include/ModelAnimation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ class ModelAnimation : public ::ModelAnimation {

ModelAnimation& operator=(const ModelAnimation&) = delete;

ModelAnimation& operator=(ModelAnimation&& other) {
if (this != &other) {
ModelAnimation& operator=(ModelAnimation&& other) noexcept {
if (this == &other) {
return *this;
}

Expand Down
2 changes: 1 addition & 1 deletion include/Music.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class Music : public ::Music {

Music& operator=(const Music&) = delete;

Music& operator=(Music&& other) {
Music& operator=(Music&& other) noexcept {
if (this == &other) {
return *this;
}
Expand Down
2 changes: 1 addition & 1 deletion include/RenderTexture.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class RenderTexture : public ::RenderTexture {

RenderTexture& operator=(const RenderTexture&) = delete;

RenderTexture& operator=(RenderTexture&& other) {
RenderTexture& operator=(RenderTexture&& other) noexcept {
if (this == &other) {
return *this;
}
Expand Down
4 changes: 2 additions & 2 deletions include/Shader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ class Shader : public ::Shader {

Shader& operator=(const Shader&) = delete;

Shader& operator=(Shader&& other) {
if (this != &other) {
Shader& operator=(Shader&& other) noexcept {
if (this == &other) {
return *this;
}

Expand Down
2 changes: 1 addition & 1 deletion include/Sound.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class Sound : public ::Sound {
GETTERSETTER(unsigned int, FrameCount, frameCount)
GETTERSETTER(::AudioStream, Stream, stream)

Sound& operator=(Sound&& other) {
Sound& operator=(Sound&& other) noexcept {
if (this == &other) {
return *this;
}
Expand Down
2 changes: 1 addition & 1 deletion include/Texture.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class Texture : public ::Texture {

Texture& operator=(const Texture&) = delete;

Texture& operator=(Texture&& other) {
Texture& operator=(Texture&& other) noexcept {
if (this == &other) {
return *this;
}
Expand Down
4 changes: 2 additions & 2 deletions include/Wave.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class Wave : public ::Wave {
}

Wave& operator=(const Wave& other) {
if (&other != this) {
if (this == &other) {
return *this;
}

Expand All @@ -87,7 +87,7 @@ class Wave : public ::Wave {
return *this;
}

Wave& operator=(Wave&& other) {
Wave& operator=(Wave&& other) noexcept {
if (this != &other) {
return *this;
}
Expand Down