Skip to content

Commit 5c8e486

Browse files
committed
Removing comparison operators not needed anymore
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
1 parent 72f12c3 commit 5c8e486

2 files changed

Lines changed: 0 additions & 20 deletions

File tree

cpp_utils/include/cpp_utils/ReturnCode.hpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,6 @@ class ReturnCode
7373
bool operator !=(
7474
const ReturnCode& c) const noexcept;
7575

76-
CPP_UTILS_DllAPI
77-
bool operator ==(
78-
const ReturnCodeValue& c) const noexcept;
79-
80-
CPP_UTILS_DllAPI
81-
bool operator !=(
82-
const ReturnCodeValue& c) const noexcept;
83-
8476
CPP_UTILS_DllAPI
8577
bool operator <(
8678
const ReturnCode& other) const noexcept;

cpp_utils/src/cpp/ReturnCode.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,6 @@ bool ReturnCode::operator !=(
8484
return value_ != c.value_;
8585
}
8686

87-
bool ReturnCode::operator ==(
88-
const ReturnCodeValue& c) const noexcept
89-
{
90-
return value_ == c;
91-
}
92-
93-
bool ReturnCode::operator !=(
94-
const ReturnCodeValue& c) const noexcept
95-
{
96-
return value_ != c;
97-
}
98-
9987
bool ReturnCode::operator <(
10088
const ReturnCode& other) const noexcept
10189
{

0 commit comments

Comments
 (0)