From 344d932451f98abeb249cd38b49663e438a1ecdc Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Fri, 4 Dec 2009 18:59:29 +0000 Subject: QPID-2246 - QMF - Querying objects using a selector of type ObjectId yields incorrect results git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@887320 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/bindings/qmf/ruby/qmf.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'qpid/cpp/bindings/qmf/ruby') diff --git a/qpid/cpp/bindings/qmf/ruby/qmf.rb b/qpid/cpp/bindings/qmf/ruby/qmf.rb index b52f2bce5e..857dd64aeb 100644 --- a/qpid/cpp/bindings/qmf/ruby/qmf.rb +++ b/qpid/cpp/bindings/qmf/ruby/qmf.rb @@ -472,8 +472,7 @@ module Qmf end def ==(other) - return (@impl.getObjectNumHi == other.impl.getObjectNumHi) && - (@impl.getObjectNumLo == other.impl.getObjectNumLo) + return @impl == other.impl end def to_s -- cgit v1.2.1