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