summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/IncomingAsync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/IncomingAsync.cpp')
-rw-r--r--cpp/src/Ice/IncomingAsync.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/Ice/IncomingAsync.cpp b/cpp/src/Ice/IncomingAsync.cpp
index 92412a9759f..70a9218e6fc 100644
--- a/cpp/src/Ice/IncomingAsync.cpp
+++ b/cpp/src/Ice/IncomingAsync.cpp
@@ -15,6 +15,7 @@
#include <Ice/Protocol.h>
#include <Ice/Instance.h>
#include <Ice/Properties.h>
+#include <Ice/ReplyStatus.h>
#include <IceUtil/StaticMutex.h>
using namespace std;
@@ -74,11 +75,11 @@ IceInternal::IncomingAsync::__response(bool ok)
if(ok)
{
- *(_os.b.begin() + headerSize + 4) = static_cast<Byte>(DispatchOK);
+ *(_os.b.begin() + headerSize + 4) = replyOK;
}
else
{
- *(_os.b.begin() + headerSize + 4) = static_cast<Byte>(DispatchUserException);
+ *(_os.b.begin() + headerSize + 4) = replyUserException;
}
_connection->sendResponse(&_os, _compress);