summaryrefslogtreecommitdiff
path: root/ace/ACE_crc32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/ACE_crc32.cpp')
-rw-r--r--ace/ACE_crc32.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/ace/ACE_crc32.cpp b/ace/ACE_crc32.cpp
index f9e91c652ce..1320ed59085 100644
--- a/ace/ACE_crc32.cpp
+++ b/ace/ACE_crc32.cpp
@@ -104,9 +104,6 @@ namespace
#define COMPUTE(var, ch) (var) = (crc_table[(var ^ ch) & 0xFF] ^ (var >> 8))
-// Open versioned namespace, if enabled by the user.
-ACE_BEGIN_VERSIONED_NAMESPACE_DECL
-
ACE_UINT32
ACE::crc32 (const char *string)
{
@@ -146,7 +143,7 @@ ACE::crc32 (const iovec *iov, int len, ACE_UINT32 crc)
for (int i = 0; i < len; ++i)
{
for (const char *p = (const char *) iov[i].iov_base,
- *e = (const char *) iov[i].iov_base + iov[i].iov_len;
+ *e = (const char *) iov[i].iov_base + iov[i].iov_len;
p != e;
++p)
COMPUTE (crc, *p);
@@ -155,7 +152,4 @@ ACE::crc32 (const iovec *iov, int len, ACE_UINT32 crc)
return ~crc;
}
-// Close versioned namespace, if enabled by the user.
-ACE_END_VERSIONED_NAMESPACE_DECL
-
#undef COMPUTE