summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/Proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/Proxy.h')
-rw-r--r--cpp/include/Ice/Proxy.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/include/Ice/Proxy.h b/cpp/include/Ice/Proxy.h
index cc951c7b614..75ca5aa9b5a 100644
--- a/cpp/include/Ice/Proxy.h
+++ b/cpp/include/Ice/Proxy.h
@@ -187,7 +187,7 @@ public:
{
if(this->_is.b.empty())
{
- response(R { ok, { 0, 0 }});
+ response(R { ok, { static_cast<Ice::Byte*>(nullptr), static_cast<Ice::Byte*>(nullptr) } });
}
else
{
@@ -211,7 +211,7 @@ public:
{
if(this->_is.b.empty())
{
- this->_promise.set_value(R { ok, { 0, 0 }});
+ this->_promise.set_value(R { ok, { static_cast<Ice::Byte*>(nullptr), static_cast<Ice::Byte*>(nullptr) } });
}
else
{
@@ -224,7 +224,7 @@ public:
{
if(done)
{
- this->_promise.set_value(R { true, { 0, 0 }});
+ this->_promise.set_value(R { true, { static_cast<Ice::Byte*>(nullptr), static_cast<Ice::Byte*>(nullptr) } });
}
return false;
}