diff options
Diffstat (limited to 'ace/Hashable.cpp')
-rw-r--r-- | ace/Hashable.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ace/Hashable.cpp b/ace/Hashable.cpp index fca05cf96c5..cab51f7aa26 100644 --- a/ace/Hashable.cpp +++ b/ace/Hashable.cpp @@ -12,6 +12,8 @@ ACE_RCSID (ace, "$Id$") +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + ACE_Hashable::~ACE_Hashable (void) { } @@ -26,7 +28,9 @@ ACE_Hashable::hash (void) const // relative to the simple comparison. if (this->hash_value_ == 0) - (const_cast <ACE_Hashable *> (this))->hash_value_ = this->hash_i (); + this->hash_value_ = this->hash_i (); return this->hash_value_; } + +ACE_END_VERSIONED_NAMESPACE_DECL |