security+util: remove overloaded operator!()
Identity, Key, and EventId already provide an operator bool(),
which covers all valid use cases.
Change-Id: I57b11db6997e6f537873f41c6ca1c22140b894c3
diff --git a/src/security/pib/identity.cpp b/src/security/pib/identity.cpp
index 0f7dc26..3239ac3 100644
--- a/src/security/pib/identity.cpp
+++ b/src/security/pib/identity.cpp
@@ -83,13 +83,7 @@
Identity::operator bool() const
{
- return !(this->operator!());
-}
-
-bool
-Identity::operator!() const
-{
- return m_impl.expired();
+ return !m_impl.expired();
}
shared_ptr<detail::IdentityImpl>