From f69bff7f5bb817f972bed3e10ef1b3dd1090ba89 Mon Sep 17 00:00:00 2001 From: Dwayne Boone Date: Mon, 23 Jan 2006 19:18:58 +0000 Subject: Changes to support "cpp:array" in IceE (and eventually Ice). --- cpp/src/Ice/IncomingAsync.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cpp/src/Ice/IncomingAsync.cpp') diff --git a/cpp/src/Ice/IncomingAsync.cpp b/cpp/src/Ice/IncomingAsync.cpp index f50e6564947..aa2ddc7a766 100644 --- a/cpp/src/Ice/IncomingAsync.cpp +++ b/cpp/src/Ice/IncomingAsync.cpp @@ -145,13 +145,11 @@ IceInternal::IncomingAsync::__exception(const Exception& exc) // if(ex.facet.empty()) { - _os.write(vector()); + _os.write(static_cast(0), static_cast(0)); } else { - vector facetPath; - facetPath.push_back(ex.facet); - _os.write(facetPath); + _os.write(&ex.facet, &ex.facet + 1); } _os.write(ex.operation); -- cgit v1.2.3