[omniORB] Narrowing Object to Object

Duncan Grisby dgrisby@uk.research.att.com
Mon, 11 Dec 2000 10:37:46 +0000


On Thursday 7 December, Kevin Bailey wrote:

> I've just tracked down a problem I was having in which it
> looked like an Object_ptr looked corrupted. I think I've
> tracked it down to the fact that Object::_narrow doesn't
> duplicate the reference it is passed as I think it should.
> (H&V 7.6.4)

Thanks for spotting that. It's fixed now in CVS. Nobody spotted it
before since CORBA::Object::_narrow is a pointless operation.

> I'm using the lastest version of CORBA.h (version 1.4 in
> CVS) unless there's a change in a patch somewhere.
> I guess no one has ever narrowed an Object_ptr to an
> Object_ptr ?

It looks like you are using the HEAD branch of CVS. You should use the
omni3_develop branch to get bug fixes to omniORB 3. The HEAD branch is
only used for numbered releases.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --