summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/OutgoingAsync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/OutgoingAsync.cpp')
-rw-r--r--cpp/src/Ice/OutgoingAsync.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/src/Ice/OutgoingAsync.cpp b/cpp/src/Ice/OutgoingAsync.cpp
index fca226a66be..c1dcb5f3871 100644
--- a/cpp/src/Ice/OutgoingAsync.cpp
+++ b/cpp/src/Ice/OutgoingAsync.cpp
@@ -317,13 +317,12 @@ IceInternal::OutgoingAsync::__prepare(const ObjectPrx& prx, const string& operat
//
if(_reference->getFacet().empty())
{
- __os->write(vector<string>());
+ __os->write(static_cast<string*>(0), static_cast<string*>(0));
}
else
{
- vector<string> facetPath;
- facetPath.push_back(_reference->getFacet());
- __os->write(facetPath);
+ string facet = _reference->getFacet();
+ __os->write(&facet, &facet + 1);
}
__os->write(operation);