From d616b7e85ed02f362eb4cbd11063d62dd6c104db Mon Sep 17 00:00:00 2001 From: Jose Date: Mon, 26 Aug 2013 20:16:09 +0200 Subject: Fixed ICE-5402 - VS2010: generated code does not compile if method has more than 10 out parameters --- cpp/test/Ice/ami/TestI.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'cpp/test/Ice/ami/TestI.cpp') diff --git a/cpp/test/Ice/ami/TestI.cpp b/cpp/test/Ice/ami/TestI.cpp index e4b4b59a1a4..cc59376d94e 100644 --- a/cpp/test/Ice/ami/TestI.cpp +++ b/cpp/test/Ice/ami/TestI.cpp @@ -55,6 +55,24 @@ TestIntfI::opBatchCount(const Ice::Current&) return _batchCount; } +void +TestIntfI::opWitArgs(Ice::Int& one, Ice::Int& two, Ice::Int& three, Ice::Int& four, Ice::Int& five, Ice::Int& six, + Ice::Int& seven, Ice::Int& eight, Ice::Int& nine, Ice::Int& ten, Ice::Int& eleven, + const Ice::Current&) +{ + one = 1; + two = 2; + three = 3; + four = 4; + five = 5; + six = 6; + seven = 7; + eight = 8; + nine = 9; + ten = 10; + eleven = 11; +} + bool TestIntfI::waitForBatch(Ice::Int count, const Ice::Current&) { @@ -95,3 +113,4 @@ TestIntfControllerI::resumeAdapter(const Ice::Current&) TestIntfControllerI::TestIntfControllerI(const Ice::ObjectAdapterPtr& adapter) : _adapter(adapter) { } + -- cgit v1.2.3