summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/BasicStream.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-05-01 18:44:44 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-05-01 18:44:44 +0000
commitf80c72200ab5656170919848cfa4c09ff3363474 (patch)
tree9aac2786afc77480567047c3203fb56a07c1f1bd /cpp/src/Ice/BasicStream.cpp
parentAdded ability to configure string converters (diff)
downloadice-f80c72200ab5656170919848cfa4c09ff3363474.tar.bz2
ice-f80c72200ab5656170919848cfa4c09ff3363474.tar.xz
ice-f80c72200ab5656170919848cfa4c09ff3363474.zip
Use memmove instead of std::memmove
Diffstat (limited to 'cpp/src/Ice/BasicStream.cpp')
-rw-r--r--cpp/src/Ice/BasicStream.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/Ice/BasicStream.cpp b/cpp/src/Ice/BasicStream.cpp
index 77a48fe5eac..70af528b43b 100644
--- a/cpp/src/Ice/BasicStream.cpp
+++ b/cpp/src/Ice/BasicStream.cpp
@@ -1355,14 +1355,14 @@ IceInternal::BasicStream::writeConverted(const string& v)
// Use memmove instead of memcpy since the source and destination typically overlap.
//
resize(b.size() + 4);
- std::memmove(b.begin() + firstIndex + 4, b.begin() + firstIndex, actualSize);
+ memmove(b.begin() + firstIndex + 4, b.begin() + firstIndex, actualSize);
}
else if(guessedSize > 254 && actualSize <= 254)
{
//
// Move the UTF-8 sequence 4 bytes back
//
- std::memmove(b.begin() + firstIndex - 4, b.begin() + firstIndex, actualSize);
+ memmove(b.begin() + firstIndex - 4, b.begin() + firstIndex, actualSize);
resize(b.size() - 4);
}
@@ -1450,14 +1450,14 @@ IceInternal::BasicStream::writeConverted(const wstring& v)
// Use memmove instead of memcpy since the source and destination typically overlap.
//
resize(b.size() + 4);
- std::memmove(b.begin() + firstIndex + 4, b.begin() + firstIndex, actualSize);
+ memmove(b.begin() + firstIndex + 4, b.begin() + firstIndex, actualSize);
}
else if(guessedSize > 254 && actualSize <= 254)
{
//
// Move the UTF-8 sequence 4 bytes back
//
- std::memmove(b.begin() + firstIndex - 4, b.begin() + firstIndex, actualSize);
+ memmove(b.begin() + firstIndex - 4, b.begin() + firstIndex, actualSize);
resize(b.size() - 4);
}