summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2005-06-17 06:42:05 +0000
committerMichi Henning <michi@zeroc.com>2005-06-17 06:42:05 +0000
commit9c9329face08b26f6ea69ad5456749c7a39f8f67 (patch)
tree97e7ad1fae1fdc7dadc34b9d1e37f7451c7a892d /cpp
parentRemoved constructor from structs again so they stay PODs. (diff)
downloadice-9c9329face08b26f6ea69ad5456749c7a39f8f67.tar.bz2
ice-9c9329face08b26f6ea69ad5456749c7a39f8f67.tar.xz
ice-9c9329face08b26f6ea69ad5456749c7a39f8f67.zip
Changed initialization of struct because of removed one-shot constructor.
Diffstat (limited to 'cpp')
-rw-r--r--cpp/test/Ice/objects/AllTests.cpp3
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");