diff options
Diffstat (limited to 'cpp/src/Ice/Outgoing.cpp')
-rw-r--r-- | cpp/src/Ice/Outgoing.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/src/Ice/Outgoing.cpp b/cpp/src/Ice/Outgoing.cpp index 038641be760..0a081181f0a 100644 --- a/cpp/src/Ice/Outgoing.cpp +++ b/cpp/src/Ice/Outgoing.cpp @@ -71,13 +71,12 @@ IceInternal::Outgoing::Outgoing(ConnectionI* connection, Reference* ref, const s // 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); |