summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ReferenceFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/ReferenceFactory.cpp')
-rw-r--r--cpp/src/Ice/ReferenceFactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/ReferenceFactory.cpp b/cpp/src/Ice/ReferenceFactory.cpp
index d4198699609..a73f3e52b33 100644
--- a/cpp/src/Ice/ReferenceFactory.cpp
+++ b/cpp/src/Ice/ReferenceFactory.cpp
@@ -857,11 +857,11 @@ IceInternal::ReferenceFactory::create(const Identity& ident,
string type = properties->getProperty(property);
if(type == "Random")
{
- endpointSelection = Random;
+ endpointSelection = ICE_ENUM(EndpointSelectionType, Random);
}
else if(type == "Ordered")
{
- endpointSelection = Ordered;
+ endpointSelection = ICE_ENUM(EndpointSelectionType, Ordered);
}
else
{