summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ServerAdapterI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/ServerAdapterI.cpp')
-rw-r--r--cpp/src/IceGrid/ServerAdapterI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/ServerAdapterI.cpp b/cpp/src/IceGrid/ServerAdapterI.cpp
index 301bd43ecd0..86ae6c7b918 100644
--- a/cpp/src/IceGrid/ServerAdapterI.cpp
+++ b/cpp/src/IceGrid/ServerAdapterI.cpp
@@ -71,7 +71,7 @@ ServerAdapterI::activate_async(const AMD_Adapter_activatePtr& cb, const Ice::Cur
//
try
{
- if(_server->startInternal(OnDemand))
+ if(_server->startInternal(ServerI::OnDemand))
{
return;
}
@@ -106,7 +106,7 @@ ServerAdapterI::getDirectProxy(const Ice::Current& current) const
{
AdapterNotActiveException ex;
ServerState state = _server->getState();
- ex.activatable = _server->getActivationMode() == OnDemand || state == Activating || state == Active;
+ ex.activatable = _server->getActivationMode() == ServerI::OnDemand || state == Activating || state == Active;
ex.timeout = static_cast<int>(_waitTime.toMilliSeconds());
throw ex;
}