summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/slicing/objects/TestI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/slicing/objects/TestI.cpp')
-rw-r--r--cpp/test/Ice/slicing/objects/TestI.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/cpp/test/Ice/slicing/objects/TestI.cpp b/cpp/test/Ice/slicing/objects/TestI.cpp
index 660ba0b86dc..bf33febf78d 100644
--- a/cpp/test/Ice/slicing/objects/TestI.cpp
+++ b/cpp/test/Ice/slicing/objects/TestI.cpp
@@ -245,25 +245,25 @@ TestI::dictionaryTest(const BDict& bin, BDict& bout, const ::Ice::Current&)
int i;
for(i = 0; i < 10; ++i)
{
- BPtr b = bin.find(i)->second;
- D2Ptr d2 = new D2;
- d2->sb = b->sb;
- d2->pb = b->pb;
- d2->sd2 = "D2";
- d2->pd2 = d2;
- bout[i * 10] = d2;
+ BPtr b = bin.find(i)->second;
+ D2Ptr d2 = new D2;
+ d2->sb = b->sb;
+ d2->pb = b->pb;
+ d2->sd2 = "D2";
+ d2->pd2 = d2;
+ bout[i * 10] = d2;
}
BDict r;
for(i = 0; i < 10; ++i)
{
- std::ostringstream s;
- s << "D1." << i * 20;
- D1Ptr d1 = new D1;
- d1->sb = s.str();
- d1->pb = (i == 0 ? BPtr(0) : r.find((i - 1) * 20)->second);
- d1->sd1 = s.str();
- d1->pd1 = d1;
- r[i * 20] = d1;
+ std::ostringstream s;
+ s << "D1." << i * 20;
+ D1Ptr d1 = new D1;
+ d1->sb = s.str();
+ d1->pb = (i == 0 ? BPtr(0) : r.find((i - 1) * 20)->second);
+ d1->sd1 = s.str();
+ d1->pd1 = d1;
+ r[i * 20] = d1;
}
return r;
}