summaryrefslogtreecommitdiff
path: root/cpp/demo/Freeze/customEvictor/Client.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2007-03-30 12:00:58 +0000
committerDwayne Boone <dwayne@zeroc.com>2007-03-30 12:00:58 +0000
commitaf677e890a1bbcb2b1cfe4c4de418ff54e4448e2 (patch)
tree87bd6515676637eb6dbf8e4257889d44dd3034d6 /cpp/demo/Freeze/customEvictor/Client.cpp
parentbug 2073 (diff)
downloadice-af677e890a1bbcb2b1cfe4c4de418ff54e4448e2.tar.bz2
ice-af677e890a1bbcb2b1cfe4c4de418ff54e4448e2.tar.xz
ice-af677e890a1bbcb2b1cfe4c4de418ff54e4448e2.zip
Fixed VC6 compile errors
Diffstat (limited to 'cpp/demo/Freeze/customEvictor/Client.cpp')
-rw-r--r--cpp/demo/Freeze/customEvictor/Client.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/demo/Freeze/customEvictor/Client.cpp b/cpp/demo/Freeze/customEvictor/Client.cpp
index 81725c98b56..aa28debb0c9 100644
--- a/cpp/demo/Freeze/customEvictor/Client.cpp
+++ b/cpp/demo/Freeze/customEvictor/Client.cpp
@@ -90,7 +90,8 @@ public:
os << "P/N " << id;
string name = os.str();
- Ice::Identity identity = { name, "" };
+ Ice::Identity identity;
+ identity.name = name;
ItemPrx item = ItemPrx::uncheckedCast(_anItem->ice_identity(identity));
item->getDescription();
}
@@ -144,7 +145,8 @@ public:
os << "P/N " << id;
string name = os.str();
- Ice::Identity identity = { name, "" };
+ Ice::Identity identity;
+ identity.name = name;
ItemPrx item = ItemPrx::uncheckedCast(_anItem->ice_identity(identity));
item->adjustStock(1);