summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/Buffer.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2005-08-12 04:44:58 +0000
committerMatthew Newhook <matthew@zeroc.com>2005-08-12 04:44:58 +0000
commit708d97e4bd4acf9d7c1bad093d0c3847282b09c2 (patch)
treef6d6de12f2b778f67d52906c8978578bb278b4e6 /cppe/src/IceE/Buffer.cpp
parenthttp://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=439 (diff)
downloadice-708d97e4bd4acf9d7c1bad093d0c3847282b09c2.tar.bz2
ice-708d97e4bd4acf9d7c1bad093d0c3847282b09c2.tar.xz
ice-708d97e4bd4acf9d7c1bad093d0c3847282b09c2.zip
ICEE_ -> ICE_
Diffstat (limited to 'cppe/src/IceE/Buffer.cpp')
-rw-r--r--cppe/src/IceE/Buffer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppe/src/IceE/Buffer.cpp b/cppe/src/IceE/Buffer.cpp
index f36d87dc2d3..12964bde6d7 100644
--- a/cppe/src/IceE/Buffer.cpp
+++ b/cppe/src/IceE/Buffer.cpp
@@ -17,7 +17,7 @@ using namespace IceInternal;
void
IceInternal::Buffer::swap(Buffer& other)
{
-#ifdef ICEE_SMALL_MESSAGE_BUFFER_OPTIMIZATION
+#ifdef ICE_SMALL_MESSAGE_BUFFER_OPTIMIZATION
Container::difference_type pos = i - b.begin();
Container::difference_type otherPos = other.i - other.b.begin();
b.swap(other.b);
@@ -32,7 +32,7 @@ IceInternal::Buffer::swap(Buffer& other)
void
IceInternal::Buffer::Container::swap(Container& other)
{
-#ifdef ICEE_SMALL_MESSAGE_BUFFER_OPTIMIZATION
+#ifdef ICE_SMALL_MESSAGE_BUFFER_OPTIMIZATION
if(_buf == _fixed)
{
if(other._buf == other._fixed)
@@ -84,7 +84,7 @@ IceInternal::Buffer::Container::resize(size_type n)
_capacity = std::max<size_type>(n, 2 * _capacity);
_capacity = std::max<size_type>(static_cast<size_type>(240), _capacity);
-#ifdef ICEE_SMALL_MESSAGE_BUFFER_OPTIMIZATION
+#ifdef ICE_SMALL_MESSAGE_BUFFER_OPTIMIZATION
if(_buf != _fixed)
{
_buf = reinterpret_cast<pointer>(realloc(_buf, _capacity));