diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/test/Ice/objects/AllTests.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/test/Ice/objects/AllTests.cpp b/cpp/test/Ice/objects/AllTests.cpp index ed639216e6f..a9350bb0e92 100644 --- a/cpp/test/Ice/objects/AllTests.cpp +++ b/cpp/test/Ice/objects/AllTests.cpp @@ -35,7 +35,8 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated) test(ba1.theS.str == ""); test(ba1.str == ""); - S s("hello"); + S s; + s.str = "hello"; Base ba2(s, "hi"); test(ba2.theS.str == "hello"); test(ba2.str == "hi"); |