Skip to content

Commit

Permalink
Removing type_description nodiscard
Browse files Browse the repository at this point in the history
Signed-off-by: CursedRock17 <[email protected]>
  • Loading branch information
CursedRock17 committed Apr 23, 2024
1 parent 88b60ed commit 6f965d7
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ struct Field_
ConstPtr;

// comparison operators
[[nodiscard]]
bool operator==(const Field_ & other) const
{
if (this->name != other.name) {
Expand All @@ -147,7 +146,6 @@ struct Field_
}
return true;
}
[[nodiscard]]
bool operator!=(const Field_ & other) const
{
return !this->operator==(other);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,6 @@ struct FieldType_
ConstPtr;

// comparison operators
[[nodiscard]]
bool operator==(const FieldType_ & other) const
{
if (this->type_id != other.type_id) {
Expand All @@ -352,7 +351,6 @@ struct FieldType_
}
return true;
}
[[nodiscard]]
bool operator!=(const FieldType_ & other) const
{
return !this->operator==(other);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ struct IndividualTypeDescription_
ConstPtr;

// comparison operators
[[nodiscard]]
bool operator==(const IndividualTypeDescription_ & other) const
{
if (this->type_name != other.type_name) {
Expand All @@ -130,7 +129,6 @@ struct IndividualTypeDescription_
}
return true;
}
[[nodiscard]]
bool operator!=(const IndividualTypeDescription_ & other) const
{
return !this->operator==(other);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ struct KeyValue_
ConstPtr;

// comparison operators
[[nodiscard]]
bool operator==(const KeyValue_ & other) const
{
if (this->key != other.key) {
Expand All @@ -129,7 +128,6 @@ struct KeyValue_
}
return true;
}
[[nodiscard]]
bool operator!=(const KeyValue_ & other) const
{
return !this->operator==(other);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ struct TypeDescription_
ConstPtr;

// comparison operators
[[nodiscard]]
bool operator==(const TypeDescription_ & other) const
{
if (this->type_description != other.type_description) {
Expand All @@ -124,7 +123,6 @@ struct TypeDescription_
}
return true;
}
[[nodiscard]]
bool operator!=(const TypeDescription_ & other) const
{
return !this->operator==(other);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ struct TypeSource_
ConstPtr;

// comparison operators
[[nodiscard]]
bool operator==(const TypeSource_ & other) const
{
if (this->type_name != other.type_name) {
Expand All @@ -144,7 +143,6 @@ struct TypeSource_
}
return true;
}
[[nodiscard]]
bool operator!=(const TypeSource_ & other) const
{
return !this->operator==(other);
Expand Down

0 comments on commit 6f965d7

Please sign in to comment.