From 688452d97119680210549f39bb155a7c501eae6c Mon Sep 17 00:00:00 2001 From: Nik Bougalis Date: Wed, 10 Feb 2016 00:54:15 -0800 Subject: [PATCH] Fix OptionalProxy equality comparison --- src/ripple/protocol/STObject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ripple/protocol/STObject.h b/src/ripple/protocol/STObject.h index be28b78e2..4a51d6e88 100644 --- a/src/ripple/protocol/STObject.h +++ b/src/ripple/protocol/STObject.h @@ -188,7 +188,7 @@ private: OptionalProxy const& lhs, OptionalProxy const& rhs) noexcept { - if (lhs.engaged() != lhs.engaged()) + if (lhs.engaged() != rhs.engaged()) return false; return ! lhs.engaged() || *lhs == *rhs; }