summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/CPlusPlusUtil.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2006-08-24 22:48:56 +0000
committerMark Spruiell <mes@zeroc.com>2006-08-24 22:48:56 +0000
commitd289ccc9af2907df3dc2f4ac8917aad2c04e5480 (patch)
tree9ef1338aa40cf285ddd251bfdcbbd5ea82906dd1 /cpp/src/Slice/CPlusPlusUtil.cpp
parentbug 1182: add zero-copy functions to stream API (diff)
downloadice-d289ccc9af2907df3dc2f4ac8917aad2c04e5480.tar.bz2
ice-d289ccc9af2907df3dc2f4ac8917aad2c04e5480.tar.xz
ice-d289ccc9af2907df3dc2f4ac8917aad2c04e5480.zip
bug 1316: auto_array
Diffstat (limited to 'cpp/src/Slice/CPlusPlusUtil.cpp')
-rw-r--r--cpp/src/Slice/CPlusPlusUtil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Slice/CPlusPlusUtil.cpp b/cpp/src/Slice/CPlusPlusUtil.cpp
index 95ee1fbdb1c..70abbe1405d 100644
--- a/cpp/src/Slice/CPlusPlusUtil.cpp
+++ b/cpp/src/Slice/CPlusPlusUtil.cpp
@@ -767,8 +767,8 @@ Slice::writeMarshalUnmarshalCode(Output& out, const TypePtr& type, const string&
{
s = " " + s;
}
- out << nl << "::IceUtil::auto_array<" << s << "> ___" << fixedParam << ";";
- out << nl << stream << deref << func << fixedParam << ", ___" << fixedParam << ");";
+ out << nl << "::IceUtil::ScopedArray<" << s << "> ___" << fixedParam << '('
+ << stream << deref << func << fixedParam << "));";
}
else
{