diff options
author | Mark Spruiell <mes@zeroc.com> | 2006-08-24 22:48:56 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2006-08-24 22:48:56 +0000 |
commit | d289ccc9af2907df3dc2f4ac8917aad2c04e5480 (patch) | |
tree | 9ef1338aa40cf285ddd251bfdcbbd5ea82906dd1 /cpp/src/Slice/CPlusPlusUtil.cpp | |
parent | bug 1182: add zero-copy functions to stream API (diff) | |
download | ice-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.cpp | 4 |
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 { |