diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-06-02 07:38:06 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-06-02 07:38:06 +0000 |
commit | c91cf4730938d9f0cf99768e3092794e5c968120 (patch) | |
tree | 5d66542032fa0d8a6e6477f5044d305055fced07 /TAO/tao/LocalObject.cpp | |
parent | 18246c7def2be102f4f63cfec13906420e3746ac (diff) | |
download | ATCD-c91cf4730938d9f0cf99768e3092794e5c968120.tar.gz |
ChangeLogTag:Wed Jun 2 00:37:17 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/LocalObject.cpp')
-rw-r--r-- | TAO/tao/LocalObject.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/tao/LocalObject.cpp b/TAO/tao/LocalObject.cpp index 8f28082a317..3d752b69478 100644 --- a/TAO/tao/LocalObject.cpp +++ b/TAO/tao/LocalObject.cpp @@ -47,9 +47,8 @@ CORBA::LocalObject::_hash (CORBA::ULong maximum // enough to hold an address to avoid compile-time warnings on some // 64-bit platforms. - CORBA::ULong hash = - ACE_static_cast (CORBA::ULong, - ACE_reinterpret_cast (ptrdiff_t, this)); + const CORBA::ULong hash = + static_cast<CORBA::ULong> (reinterpret_cast<ptrdiff_t> (this)); return hash % maximum; } |