From 687d80381f3c5157ed8bb514a0e9b9df04114896 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 14 Jun 2022 18:34:39 +0200 Subject: refactor: fix ObjectIdentifier == operator option name --- src/object_identifier.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/object_identifier.cpp') diff --git a/src/object_identifier.cpp b/src/object_identifier.cpp index 44ca1b3..1144df7 100644 --- a/src/object_identifier.cpp +++ b/src/object_identifier.cpp @@ -20,10 +20,9 @@ ObjectIdentifier::ObjectIdentifier( { } -auto ObjectIdentifier::operator==(const ObjectIdentifier &object_type) const noexcept - -> bool +auto ObjectIdentifier::operator==(const ObjectIdentifier &rhs) const noexcept -> bool { - return hash() == object_type.hash(); + return hash() == rhs.hash(); } auto ObjectIdentifier::hash() const noexcept -> std::size_t -- cgit v1.2.3-18-g5258