aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/utils/strong_type/StrongTypeAttributes.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/core/utils/strong_type/StrongTypeAttributes.h')
-rw-r--r--arm_compute/core/utils/strong_type/StrongTypeAttributes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arm_compute/core/utils/strong_type/StrongTypeAttributes.h b/arm_compute/core/utils/strong_type/StrongTypeAttributes.h
index b5ed48f5ce..78a4032da7 100644
--- a/arm_compute/core/utils/strong_type/StrongTypeAttributes.h
+++ b/arm_compute/core/utils/strong_type/StrongTypeAttributes.h
@@ -34,6 +34,7 @@ namespace strong_type
template <typename T>
struct Comparable : misc::CRTP<T, Comparable>
{
+#ifndef DOXYGEN_SKIP_THIS
bool operator==(T const &other) const
{
return this->impl().get() == other.get();
@@ -58,6 +59,7 @@ struct Comparable : misc::CRTP<T, Comparable>
{
return !(*this > other);
}
+#endif /* DOXYGEN_SKIP_THIS */
};
} // namespace strong_type
} // namespace arm_compute