summaryrefslogtreecommitdiff
path: root/php/src/php7/Communicator.cpp
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2016-03-31 17:23:02 -0400
committerJoe George <joe@zeroc.com>2016-03-31 17:23:02 -0400
commiteba3560803a0fa0f50cbb5851d7a01b88a316ef5 (patch)
tree78e5148da6926d44085a1ef9b8d42e44ac58c3f8 /php/src/php7/Communicator.cpp
parentBuild networkProxy with C++11 (diff)
downloadice-eba3560803a0fa0f50cbb5851d7a01b88a316ef5.tar.bz2
ice-eba3560803a0fa0f50cbb5851d7a01b88a316ef5.tar.xz
ice-eba3560803a0fa0f50cbb5851d7a01b88a316ef5.zip
Fix php7 build
Diffstat (limited to 'php/src/php7/Communicator.cpp')
-rw-r--r--php/src/php7/Communicator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/php/src/php7/Communicator.cpp b/php/src/php7/Communicator.cpp
index 606fff9d82e..f879942ef65 100644
--- a/php/src/php7/Communicator.cpp
+++ b/php/src/php7/Communicator.cpp
@@ -1374,7 +1374,7 @@ ZEND_FUNCTION(Ice_identityToString)
try
{
- string str = _this->getCommunicator()->identityToString(id);
+ string str = Ice::identityToString(id);
RETURN_STRINGL(STRCAST(str.c_str()), static_cast<int>(str.length()));
}
catch(const IceUtil::Exception& ex)
@@ -1396,7 +1396,7 @@ ZEND_FUNCTION(Ice_stringToIdentity)
try
{
- Ice::Identity id = _this->getCommunicator()->stringToIdentity(s);
+ Ice::Identity id = Ice::stringToIdentity(s);
if(!createIdentity(return_value, id))
{
RETURN_NULL();