diff options
Diffstat (limited to 'matlab/src/IceMatlab/Endpoint.cpp')
-rw-r--r-- | matlab/src/IceMatlab/Endpoint.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/matlab/src/IceMatlab/Endpoint.cpp b/matlab/src/IceMatlab/Endpoint.cpp index 78688469262..bb9dfca9862 100644 --- a/matlab/src/IceMatlab/Endpoint.cpp +++ b/matlab/src/IceMatlab/Endpoint.cpp @@ -21,7 +21,7 @@ using namespace std; using namespace IceMatlab; void* -IceMatlab::createEndpoint(shared_ptr<Ice::Endpoint> p) +IceMatlab::createEndpoint(const shared_ptr<Ice::Endpoint>& p) { return new shared_ptr<Ice::Endpoint>(p); } @@ -73,7 +73,7 @@ static const char* infoFields[] = }; mxArray* -createInfo(shared_ptr<Ice::EndpointInfo> info) +createInfo(const shared_ptr<Ice::EndpointInfo>& info) { // // Create and return a struct array containing the fields that describe the EndpointInfo object. |