summaryrefslogtreecommitdiff
path: root/TAO/CIAO/CIDLC/ServantSourceGenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/CIDLC/ServantSourceGenerator.cpp')
-rw-r--r--TAO/CIAO/CIDLC/ServantSourceGenerator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/CIAO/CIDLC/ServantSourceGenerator.cpp b/TAO/CIAO/CIDLC/ServantSourceGenerator.cpp
index 070099353c0..816b777d210 100644
--- a/TAO/CIAO/CIDLC/ServantSourceGenerator.cpp
+++ b/TAO/CIAO/CIDLC/ServantSourceGenerator.cpp
@@ -826,9 +826,10 @@ namespace
<< "ACE_CHECK_RETURN (0);" << endl;
os << "ACE_NEW_RETURN (" << endl
- << "retv[i++].ck," << endl
+ << "retv[i].ck," << endl
<< "CIAO::Map_Key_Cookie (entry.ext_id_)," << endl
<< "0);" << endl
+ << "++i;" << endl
<< "}";
os << "return retv._retn ();" << endl